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 » WebSphere Message Broker (ACE) Support » JMSNodes with PubSub

Post new topic  Reply to topic
 JMSNodes with PubSub « View previous topic :: View next topic » 
Author Message
hornbeam123
PostPosted: Tue Nov 24, 2009 4:58 am    Post subject: JMSNodes with PubSub Reply with quote

Centurion

Joined: 01 Nov 2003
Posts: 101

I am looking to see how JMS nodes and real-time input nodes can interact with JMS clients extending the samples available.

To this end I am writing a very simple publisher application that will use JMSC.MQJMS_TP_DIRECT_TCPIP. It will operate in the jre of the

wbimb toolkit using MQ libraries as the JMS provider.

The message broker will contain two flows. One will receive the JMS publication and publish. The other will be a subscriber flow which will

subscribe to the same topic and produce a mq message.

I have some doubts.

Firstly I am not certain what to include for the tcf object.The following untested is in my jmsadmin input file.

# Define a TopicConnectionFactory
DEF TCF(psTcf)+
QMANAGER(<A queue manager>)

#The following command creates a Topic named ‘ABC ’ under the root topic of Xyz.
DEF T(MyTopic)TOPIC(Xyz/ABC)
END

Is this correct for JMS Direct mode?



Regarding the flow design.
Publisher
RealTime Input (port matching that in java publisher program) -->compute(optional)-->JMSOutput (Publication Topic checked MyTopic)

Subscriber
JMSInput (Subscription topic checked MyTopic)-->JMSMQTransform-->compute(optional)-->MQOutput


Have I chosen the correct nodes? Is this approach feasible?
Back to top
View user's profile Send private message
hornbeam123
PostPosted: Wed Dec 09, 2009 4:30 am    Post subject: JMSNodes with PubSub Reply with quote

Centurion

Joined: 01 Nov 2003
Posts: 101

I have answered some of my own questions.
Publisher java pgm executing in eclipse ide using TP_DIRECT_TCPIP publishes topic with a subscriber flow headed by real time input node (not JMSInput node) is working.

Same java pgm above into version of flow above with JMSInput rather than realtime input fails connection authorisation error.

Found a hit on boulder -
http://www-01.ibm.com/support/docview.wss?uid=swg21256721
, it tells you how to circumvent by using TP_CLIENT or BINDINGS but no explanation onto why it does not work with wbimb6 default qmgr.

Anyhow modified my java publisher got past that previous error but failing further down the line, r+d continues. As for the original set of questions ignore them!
Back to top
View user's profile Send private message
hornbeam123
PostPosted: Thu Dec 10, 2009 4:35 am    Post subject: JMSNodes with PubSub Reply with quote

Centurion

Joined: 01 Nov 2003
Posts: 101

Back again.

HYPOTHETICAL SCENARIO #1
JMS Publisher running under Was or jboss publishes topic over JMSC.MQJMS_TP_DIRECT_TCPIP
Subscriber is flow on message broker takes data, sends to legacy.

QUESTION #1
Does the flow in wbimb pick this up with a Real-time input node?


HYPOTHETICAL SCENARIO #2
JMS Publisher running under Was or jboss publishes topic over JMSC.MQJMS_TP_CLIENT_MQ_TCPIP
Subscriber is flow on message broker takes data, sends to legacy.


QUESTION #2
Does the flow in wbimb pick this up with a JMSInput node specifying the subscription topic?
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 » WebSphere Message Broker (ACE) Support » JMSNodes with PubSub
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.