Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16F5D8DB4 for ; Sun, 28 Aug 2011 15:13:01 +0000 (UTC) Received: (qmail 86604 invoked by uid 500); 28 Aug 2011 15:13:00 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 86563 invoked by uid 500); 28 Aug 2011 15:13:00 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 86555 invoked by uid 99); 28 Aug 2011 15:12:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Aug 2011 15:12:59 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Aug 2011 15:12:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BD9CCD41D5 for ; Sun, 28 Aug 2011 15:12:37 +0000 (UTC) Date: Sun, 28 Aug 2011 15:12:37 +0000 (UTC) From: "Michael Justin (JIRA)" To: dev@activemq.apache.org Message-ID: <1779758568.1155.1314544357757.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <209480992.1122.1314540997639.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3476) Stomp 1.1 - messages sent after heart-beat timeout are lost MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-3476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092499#comment-13092499 ] Michael Justin commented on AMQ-3476: ------------------------------------- I will try to write a testcase however with the current test cases I run into a build error, using maven 3 and this command line from the activemq-core folder: mvn test -Dtest=org.apache.activemq.transport.stomp.Stomp11Test.java Result: Running org.apache.activemq.transport.stomp.Stomp11Test Tests run: 15, Failures: 0, Errors: 15, Skipped: 0, Time elapsed: 3.042 sec <<< FAILURE! Results : Tests in error: testConnect(org.apache.activemq.transport.stomp.Stomp11Test): Error creating b ean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [org/apache/activemq/transport/stomp/stomp-auth-broker.xml]: Insta ntiation of bean failed; nested exception is java.lang.ExceptionInInitializerErr or (... many similar messages) Are additional configuration parameters necessary to run the tests? Many thanks in advance > Stomp 1.1 - messages sent after heart-beat timeout are lost > ----------------------------------------------------------- > > Key: AMQ-3476 > URL: https://issues.apache.org/jira/browse/AMQ-3476 > Project: ActiveMQ > Issue Type: Improvement > Components: Transport > Affects Versions: 5.6.0 > Environment: Windows Vista SP 2, Apache ActiveMQ 5.6 Snapshot 2011-08-24 > Reporter: Michael Justin > Labels: stomp > > A Stomp 1.1 can send messages after the timeout specified in the heart-beat header and these messages will not be rejected. They will also not be visible in the admin console so it appears as if they are lost. > Example: > client sends: > CONNECT > accept-version:1.1 > server:localhost > heart-beat:1000,0 > received: > CONNECTED > heart-beat:0,2000 > session:ID:mj-PC-49595-1314256305896-2:24 > server:ActiveMQ/5.6-SNAPSHOT > version:1.1 > - here the client waits for about 5 seconds - > client sends a message: > SEND > destination:/queue/TOOL.DEFAULT > This should fail but the socket connection is still usable for outgoing data. > Reading from the connection however fails as expected if the client did not sent any heart beat signals, so this problem seems to happen only for inbound data (from client to server). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira