Hello,
*This is my Route:*
from("jms:validate?replyTo=validateResult").bean(ValidatorBean.class);
*Sending a message as follows:*
template.sendBody("jms:validate", "My Text Message");
*Receiving the replied message as follows:*
Endpoint endpoint = context.getEndpoint("jms:validateResult");
PollingConsumer consumer = endpoint.createPollingConsumer();
Object reply = consumer.receive().getIn().getBody();
The Vlidator bean just returns String (return "All GOOD") absolutely no
processing logic!
But the out put says!
[ main] RequestReplyJmsTest INFO
********************************************************************************
[ main] RequestReplyJmsTest INFO
Testing done: testClientGetsReply(camelinaction.RequestReplyJmsTest)
[ main] RequestReplyJmsTest INFO Took:
*5.187 seconds (5187 millis)*
[ main] RequestReplyJmsTest INFO
********************************************************************************
It takes 5 + secs - seems a lot! Any ideas please? The whole processing
logic (business logic)is expected to be complete in less than 5 secs
Thanks in advance!
Thanks
Matt
--
View this message in context:
http://camel.465427.n5.nabble.com/JMS-Queue-to-Bean-To-JMSQueue-Turn-around-time-tp5072773p5072773.html
Sent from the Camel - Users mailing list archive at Nabble.com.