activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMQ-4560) Exception from AMQP transport when dispatching Messages from the store.
Date Tue, 28 May 2013 15:06:20 GMT

     [ https://issues.apache.org/jira/browse/AMQ-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish resolved AMQ-4560.
-------------------------------

    Resolution: Fixed

Fixed on trunk, needed to set the Message to read-only before we hand off to the transformer.

                
> Exception from AMQP transport when dispatching Messages from the store.
> -----------------------------------------------------------------------
>
>                 Key: AMQ-4560
>                 URL: https://issues.apache.org/jira/browse/AMQ-4560
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.8.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 5.9.0
>
>
> When messages are placed in a Queue and the broker is restarted the AMQP transport will
throw the following exception on dispatch of the Message recovered from the store. 
> {code}
> javax.jms.MessageNotReadableException: Message body is write-only
> 	at org.apache.activemq.command.ActiveMQBytesMessage.checkWriteOnlyBody(ActiveMQBytesMessage.java:863)
> 	at org.apache.activemq.command.ActiveMQBytesMessage.initializeReading(ActiveMQBytesMessage.java:868)
> 	at org.apache.activemq.command.ActiveMQBytesMessage.getBodyLength(ActiveMQBytesMessage.java:190)
> 	at org.apache.qpid.proton.jms.AMQPNativeOutboundTransformer.transform(AMQPNativeOutboundTransformer.java:63)
> 	at org.apache.qpid.proton.jms.AutoOutboundTransformer.transform(AutoOutboundTransformer.java:37)
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter$ConsumerContext.pumpOutbound(AmqpProtocolConverter.java:751)
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter$ConsumerContext.onMessageDispatch(AmqpProtocolConverter.java:710)
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onActiveMQCommand(AmqpProtocolConverter.java:300)
> 	at org.apache.activemq.transport.amqp.AmqpTransportFilter.oneway(AmqpTransportFilter.java:64)
> 	at org.apache.activemq.broker.TransportConnection.dispatch(TransportConnection.java:1378)
> 	at org.apache.activemq.broker.TransportConnection.processDispatch(TransportConnection.java:897)
> 	at org.apache.activemq.broker.TransportConnection.iterate(TransportConnection.java:943)
> 	at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:129)
> 	at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:47)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> 	at java.lang.Thread.run(Thread.java:680)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message