Hi,
I must be missing something obvious!
In my application I want to connect to a queue on a remote ActiveMQ broker
and route messages from this queue to my local file system using a Camel
route.
So I include the following in my activemq.xml file:
<bean id="remoteBrokerConx"
class="org.apache.activemq.camel.component.ActiveMQComponent">
<property name="connectionFactory">
<bean class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL"
value="static(ssl://test1.test.com:18162)?randomize=true"/>
<property name="userName" value="aceuser"/>
<property name="password" value="acepass"/>
</bean>
</property>
</bean>
<camel:camelContext id="camel"
xmlns="http://activemq.apache.org/camel/schema/spring">
<camel:route>
<camel:from uri="remoteBrokerConx:remoteQueue"/>
<camel:to uri="file://jms-message"/>
</camel:route>
When my activemq.xml file is read and the above beans setup, I assume that a
connection will be made to the queue on the remoteBroker via the
ActiveMQConnectionFactory. However even having full DEBUG switched on in my
log4j.properties, I cannot see anything which shows the connection being
attempted or being successful. How do I see what is going on behind the
scenes?
I have log4j.logger.org.apache.activemq=DEBUG enabled. I do see some logging
for my local broker but nothing about connections to the remote one.
Thanks for help
BRegards
Andrew
--
View this message in context: http://old.nabble.com/No-logging-on-org.apache.activemq.camel.component.ActiveMQComponent-tp26415393p26415393.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
|