在點當我執行路由到一個-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
感謝您的調查! –