Hi Manish,
Just create a second connection factory with URL for the second
broker, and inject that connection factory into one of the
jms:providers.
/Ade
On 12 Dec 2008, at 09:50, manish_goyal wrote:
Hi,
I have a scenario where i want to route message to two different
brokerURL
in a single xbean file.
In my xbean file i have two different provider MyProviderService1 and
MyProviderService2.
I have given brokerURL common for both provider.
I want to have independent brokerURL for each provider.
<jms:provider service="rout:MyProviderService1"
endpoint="jms"
destinationName="Queue1"
connectionFactory="#connectionFactory"/>
<jms:provider service="rout:MyProviderService2"
endpoint="jms"
destinationName="Queue2"
connectionFactory="#connectionFactory"/>
<amq:connectionFactory id="connectionFactory"
brokerURL="tcp://localhost:54546" />
</beans>
Is this possible to have independent brokerURL for each provider?
Thanks.
Regards,
Manish
--
View this message in context:
http://www.nabble.com/defining-independent-brokerURL-for-provider-tp20971577p20971577.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
---
Adrian Trenaman, Consultant Fellow, PS - Opensource Center of Competence
Progress Software Corp
Shelbourne Road, Dublin 4, Ireland
---
+353-1-637-2659 (Office)
+353-1-637-2882 (Fax)
+353-86-6051026 (Mobile)
adrian.trenaman (Skype)
----
Blog: http://trenaman.blogspot.com