This content has been marked as final.
Show 1 reply
-
1. Re: Always connecting to default Broker.
garytully Feb 1, 2011 7:36 AM (in response to ramanujam95_ramanujam95)You need to override the brokerURL property in your ActiveMQConfiguration bean as the default is hard coded. You have the relevant property comment in a different location
<!-- <property name="brokerURL" value="tcp://localhost:61617"/> -->
so move it to the ActiveMQConfiguration and uncomment.
Typically you would use set the properties of the ActiveMQComponent rather than use a separate ActiveMQConfiguration bean. But both should work.