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 Java / JMS » Bindings ... pls clear my doubt

Post new topic  Reply to topic
 Bindings ... pls clear my doubt « View previous topic :: View next topic » 
Author Message
Query2
PostPosted: Fri Dec 28, 2001 1:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
pazhanikumart
PostPosted: Fri Dec 28, 2001 9:37 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Bindings ... pls clear my doubt
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.