I'm trying to switch from jmsra to genericjmsra but still
connecting to the
OpenMQ brokers started with the cluster. We have multiple
clusters, each
with 2 instances. JMS is setup as LOCAL but the ports are not
the default.
The RAR is now getting connection errors since it is trying to
connect to
localhost 7676. The imqAddressList seems to be set but the
imqBrokerHost
and imqBrokerHostPort are set to localhost 7676 and the
imqConnectionURL
is [1]
http://localhost/imq/tunnel
Is there anyway to get the the connection factory to connect to
the brokers
listed in the imqAddressList?
Is this an RA configuration property
(ConnectionFactoryProperties?) and can
we override these at the ConnectionFactory level rather than the
RAR?
Do I override imqConnectionURL or imqBrokerHost and
imqBrokerHostPort?
I think I should set imqConnectionURL since this connecting to a
cluster of
brokers. I'm also not sure how to specify commas in the value
since the value
is already a comma-delimited list. I can look at the source for
that...I'm thinking
that the following will do it
Name = ConnectionFactoryProperties
Value = imqConnectionURL="mq://host1:50014/,mq://host2:50014/"
We are using javabean integration.
Thanks!
References
1.
http://localhost/imq/tunnel