camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandp <>
Subject camel-jms consumer 2.14.0 on JBOSS EAP 6.1.1. connectionFactory must be specified
Date Mon, 27 Oct 2014 12:38:54 GMT
Hi All,
I'm facing an issue with a jms consumer endpoint. The deployment fails due 
with a exception 
*java.lang.IllegalArgumentException: connectionFactory must be specified*

The route below fails on startup. However, the jms producer endpoint does
not complain about connection factory.

*JMS Consumer Route============*
			//some processing

*JMS Producer Route=============*

The connectionFactory is setup successfully for the jms component in the
camel registry, as shown below.

public static JmsConfiguration createHornetQJmsConfiguration() throws
NamingException, HornetQException{
		JmsConfiguration jmsConfiguration = new JmsConfiguration();
		hornetQContext = getInitialContext();
		HornetQQueue hornetQQueue = (HornetQQueue)
		if (logger.isDebugEnabled()) {
			logger.debug(" Connection was successfully established to queue " +
hornetQQueue.getName() + " Address: " + hornetQQueue.getAddress());
		return jmsConfiguration;

Am I missing anything?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message