summary
summary

Reputation: 125

What is the difference between channel types SVRCONN and SDR/RCVR ? How to decide when to use SVRCONN or SDR/RCVR pair?

We have 2 appl. In which App2 sending & App1 is receiving msg. Below is the configuration.

App1 => Q Name : GIBTNBN.RCV.SYS1.TO.SYS2
        ChannelName: GIBTNBN.SVRCONN
        QMgr: M1
App2 => Q Name : IBLPWTW.SYS1.TO.SYS2.STATUS
        ChannelName: IBLPWTW.SVRCONN.TLS
        QMgr: M2

I know only about SDR/RCVR type of channels. But here I see at both appl's side type of Channel is Server Connection. As per IBM specs => "To send messages using a server channel, you must also create, on the other queue manager, a receiver channel with the same name as the server channel." I am wondering how despite of having different channel name and channel Type (as per spec it should be RCVR Type & with same name 'IBLPWTW') at receiver side , communication is still happening.

Please help me out to identify how SVRCONN channel type work.

Upvotes: 3

Views: 4008

Answers (1)

JoshMc
JoshMc

Reputation: 10642

  • SDR/RCVR channels are used to allow for one direction communication between two queue managers.
  • SVRCONN channels are used to allow applications to connect to a queue manager over the network, the application can both send and receive data over the SVRCONN channel. If the application happens to use CCDTs to specify the client end of the connection details these are called CLNTCONN channels and would pair with a SVRCONN channel. CCDTs are not required, applications can specify connection details programmatically or via JMS/XMS JNDI such as ".bindings" files.

In your setup you may have both types in use, if you don't see SDR/RCVR channels then perhaps the two queue managers communicate over a MQ cluster using CLUSSDR/CLUSRCVR channels.

Upvotes: 3

Related Questions