|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Multicast with Event Broker |
« View previous topic :: View next topic » |
Author |
Message
|
rogerkoh_2006 |
Posted: Wed Jul 26, 2006 5:50 am Post subject: Multicast with Event Broker |
|
|
Newbie
Joined: 26 Jul 2006 Posts: 2
|
Hi everyone,
Currently, I am implementing multicast pub/sub using event broker.
My questions are:
1) Must I set a class D IP address for the broker? If yes, where should I set it? It only shows a min and max range of class D addresses in the broker properties.
2) What other areas should I pay attention to besides making broker and topic multicast enabled.
3) Lastly, how do I check if I have implemented correctly? (Besides subscribers able to receive the message)
Thanks for your time. |
|
Back to top |
|
 |
dirac |
Posted: Thu Jul 27, 2006 12:39 am Post subject: |
|
|
Novice
Joined: 31 Mar 2005 Posts: 23
|
You don't say which version (5/6?) of the broker you are running or what platforms you are using... but these tips might help....
1) I've not heard of the phrase "class D" before but the broker will accept IP addresses in the range of 224.0.0.0 to 239.255.255.255 though you should avoid 224.0.0.x and 224.0.1.x
The advice I have heard is that the best range for site-local multicast address is 239.255.x.y and the best range for organization-local multicast address is 239.192-251.x.y
(whatever "best" means!)
It uses these settings to auto-allocate IP numbers to new topics, so if you had topics A,B,C,D,E and your range was
Min 239.0.0.0 Max 239.0.0.2
Then the topics would be assigned IP numbers like so
A 239.0.0.0
B 239.0.0.1
C 239.0.0.2
D 239.0.0.0
E 239.0.0.1
You can use the GUI to specifically set your own IP numbers to the topics if so required.
2) Multicast is complex so a tricky one to answer. You'll need to ensure your networking people have enabled the boxes in the network for multicast.
3) In com.ibm.mqjms.jar there's a class called TopicSubscriberImpl
It has a method called isSubscriptionMulticast() which you can use. |
|
Back to top |
|
 |
rogerkoh_2006 |
Posted: Thu Jul 27, 2006 4:41 am Post subject: Thanks |
|
|
Newbie
Joined: 26 Jul 2006 Posts: 2
|
Hi dirac,
Thanks a lot for your response. Btw, I am using version 6.
I will follow ur tips and try out the multicast. I will post the outcome again.
Thanks for your time, dirac. |
|
Back to top |
|
 |
dirac |
Posted: Thu Jul 27, 2006 5:45 am Post subject: |
|
|
Novice
Joined: 31 Mar 2005 Posts: 23
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|