有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java ActiveMq Producer将JMS消息发送到目标队列需要更长的时间

我们正面临一个问题,从camel java DSL路由向特定队列发送JMS消息需要将近20秒,这对我们来说是非常糟糕的响应。这里只运行一个线程,没有多个线程

你能给我一些建议吗?延误的原因是什么。这是由于ActiveMq代理配置中启用了生产者流控制而导致生产者挂起的场景吗。如果是,如何处理

请在此处查找日志:

015-11-13 12:25:43,733 | DEBUG | r[GET_QUERY_QUEUE] | JmsConfiguration | 162 - org.apache.camel.camel-jms - 2.10.2.1-SNAPSHOT | Sending JMS message to: temp-queue://ID:test-portal-01-53869-1447403844710-5:1:6 with message: ActiveMQObjectMessage {commandId = 0, responseRequired = false, messageId = null, originalDestination = null, originalTransactionId = null, producerId = null, destination = null, transactionId = null, expiration = 1447406874046, timestamp = 0, arrival = 0, brokerInTime = 0, brokerOutTime = 0, correlationId = Camel-ID-msc-01-58624-1447403845629-15-4289

2015-11-13 12:26:03,355 | DEBUG | r[GET_QUERY_QUEUE] | TemporaryQueueReplyManager | 162 - org.apache.camel.camel-jms - 2.10.2.1-SNAPSHOT | Received reply message with correlationID [Camel-ID-msc-pcen-portal-01-58624-1447403845629-15-4289] -> ActiveMQObjectMessage {commandId = 70773, responseRequired = true, messageId = ID:msc-pcen-portal-01-53869-1447403844710-5:1:91:83:1, originalDestination = null, originalTransactionId = null, producerId = ID:msc-pcen-portal-01-53869-1447403844710-5:1:91:83, destination = temp-queue://test-portal-01-53869-1447403844710-5:1:6, transactionId = null, expiration = 0, timestamp = 1447406743733, arrival = 0, brokerInTime = 1447406763354, brokerOutTime = 1447406763354, correlationId = Camel-ID-msc-01-58624-1447403845629-15-4289,

2015-11-13 12:25:39046 |调试|[检索|查询]| JMSCOConfiguration | 162-org。阿帕奇。骆驼camel jms-2.10.2.1-SNAPSHOT |将jms消息发送到:queue://GET_QUERY_QUEUE带有消息:ActiveMQObjectMessage{commandId=0,responseRequired=false,messageId=null,originalDestination=null,originalTransactionId=null,producerId=null,destination=null,transactionId=null,expiration=1447406870890,timestamp=0,arrival=0,BrokerTime=0,BrokerRoutTime=0,correlationId=Camel-ID-msc-01-58624-1447403845629-15-4289

2015-11-13 12:25:43624 |调试| r[获取|查询|队列]| EndpointMessageListener | 162-org。阿帕奇。骆驼camel jms-2.10.2.1-SNAPSHOT |端点[jmsvm://queue:GET_QUERY_QUEUE?concurrentConsumers=1&maxConcurrentConsumers=10]消费者收到JMS消息:ActiveMQObjectMessage{commandId=70677,responseRequired=true,messageId=ID:msc-pcen-portal-01-53869-1447403844710-5:1:125:101:1,originalDestination=null,originalTransactionId=null,producerId=msc-pcen-portal-01-53869-1447403844710-5:1:125:101,destination=queue://GET_QUERY_QUEUE,transactionId=null,expiration=1447406874046,timestamp=1447406739046,arrival=0,brokertime=1447406743623,brokerRoutTime=1447406743623,correlationId=Camel-ID-msc-01-58624-1447403845629-15-4289


共 (0) 个答案