在点当我执行路由到一个-JMS队列如下调整Apache的骆驼JMS路由器性能
.inOut("jmsGF:queue:INQueue?replyTo=queue:OUTQueue")
我观察到骆驼大概需要900毫秒它实际上将消息发送给JMS之前队列。有没有办法减少这个过程/配置时间?谢谢。
2012-04-30 14:51:22,098 SendProcessor Endpoint[jmsGF://queue:INQueue?replyTo=queue:OUTQueue]
2012-04-30 14:51:22,833 Configuration$CamelJmsTemplate - Executing callback on JMS Session: ConnectionID=7685453259737775872, SessionID=7685453259737832448
2012-04-30 14:51:22,973 JmsConfiguration - Sending JMS message to: Oracle GlassFish(tm) Server MQ Destination
我解决了延迟通过使用org.springframework.jms.connection.CachingConnectionFactory(ref:http://bsnyderblog.blogspot.com/2010/02/using-spring-jmstemplate-to-send-jms.html) – James
感谢您的调查! –