Author |
Message
|
Trainee |
Posted: Thu Oct 01, 2009 12:59 pm Post subject: amqsput |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Hi ,
We enabled SSL on Qmgr and changed MCAUSER of SYSTEM.DEF.SVRCONN to some junk.Wonder how amqsput sample program can connect to Qmgr and able to load the messages to specfied Queue.Means it does't use any SVRCONN Channels at all to connect.
Thank you
Trainee |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 01, 2009 1:05 pm Post subject: Re: amqsput |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Trainee wrote: |
Means it does't use any SVRCONN Channels at all to connect. |
No, it doesn't. The amqsputc uses these client objects; amqsput does not.
Hence the subtle difference in names. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Oct 01, 2009 3:35 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
IBM provides C source for its utilities, and executables in both client- and server-bindings. The client versions of the utilities are suffixed with c - like amqaputc. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Trainee |
Posted: Tue Oct 06, 2009 10:14 am Post subject: |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Thanks, then how does amqsput connect to Qmgrs.
Trainee |
|
Back to top |
|
 |
Vitor |
Posted: Tue Oct 06, 2009 10:20 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Trainee wrote: |
Thanks, then how does amqsput connect to Qmgrs.
|
As my associate has already told you, there are 2 kinds of connection - client and binding. As amqsputc uses client it should be fairly obvious that the other version uses binding.
These connection types are described in the documentation much more intelegently than I could do here. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
dk27 |
Posted: Tue Oct 06, 2009 11:01 am Post subject: |
|
|
Acolyte
Joined: 28 Apr 2008 Posts: 51
|
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Oct 06, 2009 11:48 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
|
Back to top |
|
 |
Trainee |
Posted: Wed Oct 07, 2009 9:43 am Post subject: |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Then,
How does bind mode amqsput connects to Qmgr...with out SVRCONN Channel,Port etc
Trainee |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Oct 07, 2009 9:48 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Server bindings mode MQCONNects cross-memory. Client bindings mode MQCONNects to a SVRCONN channel. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|