Adrian, I have several problems and I do not know how to sovle them.
1. Message Order: I don't how it happens but I proved now that the messages are sometimes not delivered in the same order as sent to the queue. First transaction sender: 09:18:27,343 INFO [JMS SessionPool Worker-13][JMSDestinationProxy] Proxy Message: 7 Correl: 2 09:18:27,345 INFO [JMS SessionPool Worker-13][JMSDestinationProxy] Proxy Message: 7 Correl: 3 I turned on the trace for mq. I checked that the transaction for these messages is definitly commited before the following: 09:18:29,043 INFO [JMS SessionPool Worker-6][JMSDestinationProxy] Proxy Message: 7 Correl: 4 And as you see it is also 2 seconds later!! Nevertheless my client receives this last message first. As for the timestamp, I cannot verify my original assumption anymore, maybe I made a mistake there. Anyway, I can reproduce the problem I just wrote you any time. My Application does 'KeyStreaming'. There are MDB's which consume messages and sent them to another queue again. Between themselfs they make sure that a certain order is retained on the 'OUT' queue. These are the timestamps and the correlation id's on the out queue (the c-id is the order that should be) 11077643073431 2 11077643073452 3 11077643090434 4 11077643106761 5 11077643106802 6 11077643106853 7 11077643106904 8 11077643106955 9 Everything ok here.But I defenitly received 4 at first. From the client-id you can also see the transaction boundaries, as every transaction is a new client in my example [org.jboss.mq.SpyMessage { | Header { | jmsDestination : QUEUE.testKeystreamOut | jmsDeliveryMode : 2 | jmsExpiration : 0 | jmsPriority : 4 | jmsMessageID : ID:23-11077643090434 | jmsTimeStamp : 1107764309043 | jmsCorrelationID: 4 | jmsReplyTo : null | jmsType : null | jmsRedelivered : true | jmsProperties : {queue_keystream_data=true, messageKey=7, Transaction=4, JMS_JBOSS_REDELIVERY_COUNT=1} | jmsPropReadWrite: false | msgReadOnly : true | producerClientId: ID:23 | } | }, org.jboss.mq.SpyMessage { | Header { | jmsDestination : QUEUE.testKeystreamOut | jmsDeliveryMode : 2 | jmsExpiration : 0 | jmsPriority : 4 | jmsMessageID : ID:13-11077643106761 | jmsTimeStamp : 1107764310676 | jmsCorrelationID: 5 | jmsReplyTo : null | jmsType : null | jmsRedelivered : false | jmsProperties : {queue_keystream_data=true, messageKey=7, Transaction=6} | jmsPropReadWrite: false | msgReadOnly : true | producerClientId: ID:13 | } | }, org.jboss.mq.SpyMessage { | Header { | jmsDestination : QUEUE.testKeystreamOut | jmsDeliveryMode : 2 | jmsExpiration : 0 | jmsPriority : 4 | jmsMessageID : ID:13-11077643106802 | jmsTimeStamp : 1107764310680 | jmsCorrelationID: 6 | jmsReplyTo : null | jmsType : null | jmsRedelivered : false | jmsProperties : {queue_keystream_data=true, messageKey=7, Transaction=6} | jmsPropReadWrite: false | msgReadOnly : true | producerClientId: ID:13 | } | }, org.jboss.mq.SpyMessage { | Header { | jmsDestination : QUEUE.testKeystreamOut | jmsDeliveryMode : 2 | jmsExpiration : 0 | jmsPriority : 4 | jmsMessageID : ID:13-11077643106853 | jmsTimeStamp : 1107764310685 | jmsCorrelationID: 7 | jmsReplyTo : null | jmsType : null | jmsRedelivered : false | jmsProperties : {queue_keystream_data=true, messageKey=7, Transaction=7} | jmsPropReadWrite: false | msgReadOnly : true | producerClientId: ID:13 | } | }, org.jboss.mq.SpyMessage { | Header { | jmsDestination : QUEUE.testKeystreamOut | jmsDeliveryMode : 2 | jmsExpiration : 0 | jmsPriority : 4 | jmsMessageID : ID:13-11077643106904 | jmsTimeStamp : 1107764310690 | jmsCorrelationID: 8 | jmsReplyTo : null | jmsType : null | jmsRedelivered : false | jmsProperties : {queue_keystream_data=true, messageKey=7, Transaction=8} | jmsPropReadWrite: false | msgReadOnly : true | producerClientId: ID:13 | } | }, org.jboss.mq.SpyMessage { | Header { | jmsDestination : QUEUE.testKeystreamOut | jmsDeliveryMode : 2 | jmsExpiration : 0 | jmsPriority : 4 | jmsMessageID : ID:13-11077643106955 | jmsTimeStamp : 1107764310695 | jmsCorrelationID: 9 | jmsReplyTo : null | jmsType : null | jmsRedelivered : false | jmsProperties : {queue_keystream_data=true, messageKey=7, Transaction=9} | jmsPropReadWrite: false | msgReadOnly : true | producerClientId: ID:13 | } | }, org.jboss.mq.SpyMessage { | Header { | jmsDestination : QUEUE.testKeystreamOut | jmsDeliveryMode : 2 | jmsExpiration : 0 | jmsPriority : 4 | jmsMessageID : ID:15-11077643073431 | jmsTimeStamp : 1107764307343 | jmsCorrelationID: 2 | jmsReplyTo : null | jmsType : null | jmsRedelivered : false | jmsProperties : {queue_keystream_data=true, messageKey=7, Transaction=1} | jmsPropReadWrite: false | msgReadOnly : true | producerClientId: ID:15 | } | }, org.jboss.mq.SpyMessage { | Header { | jmsDestination : QUEUE.testKeystreamOut | jmsDeliveryMode : 2 | jmsExpiration : 0 | jmsPriority : 4 | jmsMessageID : ID:15-11077643073452 | jmsTimeStamp : 1107764307345 | jmsCorrelationID: 3 | jmsReplyTo : null | jmsType : null | jmsRedelivered : false | jmsProperties : {queue_keystream_data=true, messageKey=7, Transaction=2} | jmsPropReadWrite: false | msgReadOnly : true | producerClientId: ID:15 | } | }] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865521#3865521 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865521 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user