Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1C4AE200B5B for ; Fri, 5 Aug 2016 17:32:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1AD5C160A8E; Fri, 5 Aug 2016 15:32:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 63513160A64 for ; Fri, 5 Aug 2016 17:32:21 +0200 (CEST) Received: (qmail 21280 invoked by uid 500); 5 Aug 2016 15:32:20 -0000 Mailing-List: contact issues-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 issues@activemq.apache.org Received: (qmail 21269 invoked by uid 99); 5 Aug 2016 15:32:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2016 15:32:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 78AAB2C0033 for ; Fri, 5 Aug 2016 15:32:20 +0000 (UTC) Date: Fri, 5 Aug 2016 15:32:20 +0000 (UTC) From: "Timothy Bish (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-6386) NumberFormatException when publish message via AMQP and dequeue via STOMP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 05 Aug 2016 15:32:22 -0000 [ https://issues.apache.org/jira/browse/AMQ-6386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15409585#comment-15409585 ] Timothy Bish commented on AMQ-6386: ----------------------------------- There's issues in how the STOMP transport handles Message IDs especially if they don't conform to the format that ActiveMQ default IDs which the AMQP one's do not. > NumberFormatException when publish message via AMQP and dequeue via STOMP > ------------------------------------------------------------------------- > > Key: AMQ-6386 > URL: https://issues.apache.org/jira/browse/AMQ-6386 > Project: ActiveMQ > Issue Type: Bug > Components: AMQP, stomp > Affects Versions: 5.13.3, 5.13.4 > Reporter: Valentin Tsvetkov > Assignee: Timothy Bish > > Using activeMQ examples (java) > 1. examples\amqp > publish messages to queue > 2. examples\stomp > read messages from queue (using Listener class) > get error > Caused by: java.lang.RuntimeException: Exception occurred sending ACK for message id : ID\c\c272b3b79-a2ce-4445-acb7-b72f396187e0\c1\c1\c1-1 > at org.fusesource.stomp.jms.StompJmsMessageConsumer.doAck(StompJmsMessageConsumer.java:235) > at org.fusesource.stomp.jms.StompJmsMessageConsumer.ack(StompJmsMessageConsumer.java:189) > at org.fusesource.stomp.jms.StompJmsMessageConsumer.receive(StompJmsMessageConsumer.java:116) > ... 6 more > Caused by: java.io.EOFException: Peer disconnected > at org.fusesource.hawtdispatch.transport.AbstractProtocolCodec.read(AbstractProtocolCodec.java:331) > at org.fusesource.hawtdispatch.transport.TcpTransport.drainInbound(TcpTransport.java:706) > at org.fusesource.hawtdispatch.transport.TcpTransport$6.run(TcpTransport.java:588) > at org.fusesource.hawtdispatch.internal.NioDispatchSource$3.run(NioDispatchSource.java:209) > at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:100) > at org.fusesource.hawtdispatch.internal.pool.SimpleThread.run(SimpleThread.java:77) > 3. In ActiveMq log WARN | Transport Connection to: tcp://127.0.0.1:51521 failed: java.io.IOException: Unexpected error occurred: java.lang.NumberFormatException: For input string: "1-1" -- This message was sent by Atlassian JIRA (v6.3.4#6332)