-
1. Re: Problem with resending messages for JMS bridge configuration
armsargis_sargis Apr 14, 2009 4:34 AM (in response to armsargis_sargis)it seams problem in JmsQueueConnector class if in
public boolean init() {
boolean result = super.init();
if (result) {
try {
initializeForeignQueueConnection();
initializeLocalQueueConnection();
initializeInboundJmsMessageConvertor();
initializeOutboundJmsMessageConvertor();
initializeInboundQueueBridges();
initializeOutboundQueueBridges();
} catch (Exception e) {
LOG.error("Failed to initialize the JMSConnector", e);
}
}
return result;
}
initializeForeignQueueConnection() throws exception like:
INFO FailoverTransport - Failover timed out after 3001ms
ERROR JmsQueueConnector - Failed to initialize the JMSConnector
javax.jms.JMSException: Failover timeout of 3000 ms reached.
at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)
at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1266)
at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1350)
at org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:495)
at org.apache.activemq.network.jms.JmsQueueConnector.initializeForeignQueueConnection(JmsQueueConnector.java:216)
at org.apache.activemq.network.jms.JmsQueueConnector.init(JmsQueueConnector.java:54)
at org.apache.activemq.network.jms.JmsConnector.start(JmsConnector.java:116)
at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:1872)
at org.apache.activemq.broker.BrokerService.start(BrokerService.java:474)
at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:56)
it means the rest method is not executed and bridges is not initialized, and there is no any scheduler or listener if connection is up try to reinit JmsQueueConnector
-
2. Re: Problem with resending messages for JMS bridge configuration
socallag Apr 15, 2009 5:35 AM (in response to armsargis_sargis)Thanks for the feedback, we will look into reproducing this with a unit test (unless you already have one?) and raising a JIRA with AMQ
-
3. Re: Problem with resending messages for JMS bridge configuration
socallag Apr 15, 2009 7:11 AM (in response to socallag)Hi,
We have confirmed this is a bug, the AMQ JIRA bug no. is http://fusesource.com/issues/browse/MB-470
-
4. Re: Problem with resending messages for JMS bridge configuration
armsargis_sargis Apr 16, 2009 6:31 AM (in response to socallag)Thanks a lot for response