cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring two broker host in a single JMS channel

vinoth_s6
Explorer
0 Kudos

Hi All,

My requirement is to configure 2 broker host for one queue in single JMS channel. we are using JMS broker as WebMethods. They have 2 broker host for single queue. Please advice how to configure this scenario.

Accepted Solutions (0)

Answers (2)

Answers (2)

apu_das2
Active Contributor
0 Kudos

In place of putting host and port can you put it like below, It should work -

host1:port,host2:port

Queue name should be same.

Thanks,

Apu

vinoth_s6
Explorer
0 Kudos

Thanks Apu Das.

Both the host will not get messages at same time. once the primary broker fails then only webmethods will post the files in secondary broker. Will it cover this scenario as well.

apu_das2
Active Contributor
0 Kudos

Hi Vinoth,

Yes it will work. Put your primary host first and then the second one . You can test message consumption by making your one down down at a time.

Thanks,

Apu

vinoth_s6
Explorer
0 Kudos

Hi Apu,

I tried with this method but it throws below exception. Can you please tell what could be the mistake.

apu_das2
Active Contributor
0 Kudos

Can you please send screen shot of your CC Configuration.

vinoth_s6
Explorer
0 Kudos

Hi apu

bhavesh_kantilal
Active Contributor
0 Kudos

There should be a webmethods property or URL to connect to multiple IP addresses. Your webmethods consultants should be able to provide you with this property that can be leveraged in PI.

Regards

Bhavesh