ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Connect the siBus on two WAS

Post new topic  Reply to topic
 Connect the siBus on two WAS « View previous topic :: View next topic » 
Author Message
semasaba
PostPosted: Tue Jun 10, 2008 12:24 am    Post subject: Connect the siBus on two WAS Reply with quote

Novice

Joined: 21 May 2008
Posts: 17

Hi guys,
can somebody give me a description how to connect the siBus on two WAS?
I already configured successfully a siBus on two WAS but
how can I connect both? If I send a message for a special topic on the first WAS and the subscriber on the second WAS match to this topic, he should get this message.

I also looked to the Redbook:
http://www.redbooks.ibm.com/abstracts/sg247304.html?Open
chapter 9.8.11 but sadly without success.

Any idea?
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Jun 10, 2008 5:58 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I don't know how to do it.
But for linking default messaging with MQ, we use WebSphere MQ link and foreign buses. Maybe you should use the same concept and try to configure it.
Look at the following link for more information

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.websphere.pmc.doc/tasks/tjc000C_.html
Back to top
View user's profile Send private message Send e-mail Visit poster's website
semasaba
PostPosted: Tue Jun 10, 2008 6:06 am    Post subject: Reply with quote

Novice

Joined: 21 May 2008
Posts: 17

I was able to connect both siBus's.
My error was that the foreign bus name from was1 was not equal with
the bus name of was2.

Now I have the next Problem.
How can I broadcast a message for a special topic for both was?

Can I still use "dynamic" topics like the following:

JmsManagedConnectionFactoryImpl cf = (JmsManagedConnectionFactoryImpl)ctx.lookup("jms/JmsTopicFactory");
Connection connection = cf.createConnection();
connection.start();
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
Topic topic = session.createTopic("topic://MyTopic");
MessageProducer publisher = session.createProducer(topic);

or is it necessary to define the topic in was?
Back to top
View user's profile Send private message
semasaba
PostPosted: Wed Jun 11, 2008 6:58 am    Post subject: Reply with quote

Novice

Joined: 21 May 2008
Posts: 17

I also solved the last problem in the meantime.
topic name in both was was not exacly the same.
thx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Connect the siBus on two WAS
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.