|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Bindings ... pls clear my doubt |
« View previous topic :: View next topic » |
Author |
Message
|
Query2 |
Posted: Fri Dec 28, 2001 1:18 pm Post subject: |
|
|
Novice
Joined: 05 Nov 2001 Posts: 17
|
i have both mq server and client on same system.
i created a serverconnection channel.
when i write a java program, how do i implement the 2 types of bindings.
->can i specify
MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES_BINDINGS);
what else would i need to define in my program when i use this one ?
if i specify,
MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES_CLIENT);
what else would i need to define in my program ?
this concept is not clear for me in the documentation ....
ur guidance would be greatly appreciated
|
|
Back to top |
|
 |
pazhanikumart |
Posted: Fri Dec 28, 2001 9:37 pm Post subject: |
|
|
Apprentice
Joined: 12 Aug 2001 Posts: 32 Location: Chennai,India
|
Hai
1.whenever ur application is not running in the same system where MQ Series server runs,then u have to connect
to the server via
MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES_CLIENT);
while connecting through this mode,you have to provide all details such as the channel,port,queue manager
,queue name etc.,
2.whenever your application is running in the same system as the server ,then you can connect via
MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES_BINDINGS);
This type of connection is called BINDING connection.It doesn't need a channel or port to be specified
.It connects to the server using native connections.Giving the name of the queue manager and queue will suffice for this type of connection.
Palanikumar
_________________ In the end everything is Right ,If it's not then it's not the end |
|
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
|
|
|
|