[
https://issues.apache.org/jira/browse/AMQ-6386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15409627#comment-15409627
]
ASF subversion and git services commented on AMQ-6386:
------------------------------------------------------
Commit 5e5b673afa04b9ab9096d6c435af4cf99fb7c788 in activemq's branch
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=5e5b673 ]
https://issues.apache.org/jira/browse/AMQ-6386
Add test to help diagnose the issue with cross protocol AMQP -> STOMP
message acking.
> 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)