I made a test with the
org.apache.camel.component.jms.JmsSimpleRequestReplyTest, part of the
camel-jms unit tests. It use the broker URL
vm://localhost?broker.persistent=false.
In this test, the response was received by the JmsProducer after 59ms
(19:01:04,447 - 19:01:04,516). It looks like everything is ok for the case
using ActiveMQ. Will have a try with WebSphereMQ...

{code}
2011-01-25 19:01:04,447 [main           ] DEBUG
Configuration$CamelJmsTemplate - Sending JMS message to: queue://hello with
message: ActiveMQTextMessage {commandId = 0, responseRequired = false,
messageId = null, originalDestination = null, originalTransactionId = null,
producerId = null, destination = null, transactionId = null, expiration = 0,
timestamp = 0, arrival = 0, brokerInTime = 0, brokerOutTime = 0,
correlationId = 5ed259ab-540d-496e-a706-a8d28ae0a28e, replyTo =
temp-queue://ID:christian-muellers-macbook-pro.fritz.box-55143-1295978463872-2:1:1,
persistent = false, type = null, priority = 0, groupID = null, groupSequence
= 0, targetConsumerId = null, compressed = false, userID = null, content =
null, marshalledProperties = null, dataStructure = null, redeliveryCounter =
0, size = 0, properties = {foo=123}, readOnlyProperties = false,
readOnlyBody = false, droppable = false, text = Hello World}
...
2011-01-25 19:01:04,468 [main           ] DEBUG JmsProducer                   
- Message sent, now waiting for reply at:
temp-queue://ID:christian-muellers-macbook-pro.fritz.box-55143-1295978463872-2:1:1
...
2011-01-25 19:01:04,506 [enerContainer-1] DEBUG
Configuration$CamelJmsTemplate - Executing callback on JMS Session:
ActiveMQSession
{id=ID:christian-muellers-macbook-pro.fritz.box-55143-1295978463872-2:0:1,started=true}
...
2011-01-25 19:01:04,507 [enerContainer-1] DEBUG
Configuration$CamelJmsTemplate - Sending JMS message to:
temp-queue://ID:christian-muellers-macbook-pro.fritz.box-55143-1295978463872-2:1:1
with message: ActiveMQTextMessage {commandId = 0, responseRequired = false,
messageId = null, originalDestination = null, originalTransactionId = null,
producerId = null, destination = null, transactionId = null, expiration =
1295978484447, timestamp = 0, arrival = 0, brokerInTime = 0, brokerOutTime =
0, correlationId = 5ed259ab-540d-496e-a706-a8d28ae0a28e, replyTo =
temp-queue://ID:christian-muellers-macbook-pro.fritz.box-55143-1295978463872-2:1:1,
persistent = true, type = null, priority = 4, groupID = null, groupSequence
= 0, targetConsumerId = null, compressed = false, userID = null, content =
null, marshalledProperties = null, dataStructure = null, redeliveryCounter =
0, size = 0, properties = {foo=123, CamelJmsDeliveryMode=2},
readOnlyProperties = false, readOnlyBody = false, droppable = false, text =
Bye World}
...
2011-01-25 19:01:04,516 [main           ] DEBUG JmsProducer                   
- Reply received. Setting reply as OUT message: Bye World
{code}

Christian
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-JMS-InOut-Performance-Issues-with-Correlation-Mechanism-tp489714p3356722.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to