padcom / grails-routing-jms

Apache License 2.0
5 stars 6 forks source link

Configure Connection Factory #1

Closed benjithomas closed 12 years ago

benjithomas commented 12 years ago

Is there a way to configure Connection Factory to an external JMS Provider like Sonic MQ? I was trying my luck with the configuration below and it is failing.

grails.plugin.routing.jms.connectionFactory="progress.message.jclient.ConnectionFactory" grails.plugin.routing.jms.password= grails.plugin.routing.jms.username=

Thanks Benji

padcom commented 12 years ago

JMS is JMS - the provider used in routing-jms comes from ActiveMQ however the protocol itself is the same.

Changing the URI to destination is described in the docs.

Best regards, Matthias

2012/1/19 benjithomas < reply@reply.github.com

Is there a way to configure Connection Factory to an external JMS Provider like Sonic MQ? I was trying my luck with the configuration below and it is failing.

grails.plugin.routing.jms.connectionFactory="progress.message.jclient.ConnectionFactory" grails.plugin.routing.jms.password= grails.plugin.routing.jms.username=

Thanks Benji


Reply to this email directly or view it on GitHub: https://github.com/padcom/grails-routing-jms/issues/1

benjithomas commented 12 years ago

The client library from Sonic has built in features for load balancing and fault tolerance - That was one of the requirements to use the library even if its a pure JMS client implementation. So I am assuming with this plugin, it is not possible to configure a specific connectionFactory.

I can do it through camel outside the plugin using spring configuration if I am not using the plugin. Just wondering I can do it through the jms plugin configuration to supply specific connectionFactory, username and password.

padcom commented 12 years ago

In that case I'd propose using the routing plugin alone and Sonic extension for it.

Matthias.

W dniu czwartek, 19 stycznia 2012 uytkownik benjithomas < reply@reply.github.com> napisa:

The client library from Sonic has built in features for load balancing and fault tolerance - That was one of the requirements to use the library even if its a pure JMS client implementation. So I am assuming with this plugin, it is not possible to configure a specific connectionFactory.

I can do it through camel outside the plugin using spring configuration if I am not using the plugin. Just wondering I can do it through the jms plugin configuration to supply specific connectionFactory, username and password.


Reply to this email directly or view it on GitHub: https://github.com/padcom/grails-routing-jms/issues/1#issuecomment-3571332