[ https://issues.apache.org/jira/browse/AMQ-6386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15409630#comment-15409630 ]
Timothy Bish commented on AMQ-6386: ----------------------------------- I've added a unit test in the above commit, if you'd like to play around and see if you can improve the STOMP transport connector to handle this that'd be a nice contribution > 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)