Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-6386

NumberFormatException when publish message via AMQP and dequeue via STOMP

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.13.3, 5.13.4
    • Fix Version/s: None
    • Component/s: AMQP, STOMP
    • Labels:
      None

      Description

      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"

        Attachments

          Activity

            People

            • Assignee:
              tabish Timothy A. Bish
              Reporter:
              tsvetval Valentin Tsvetkov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: