Author |
Message
|
sudhir |
Posted: Mon Jun 20, 2011 1:57 am Post subject: Capturing IP address of request sending application |
|
|
Novice
Joined: 17 Dec 2002 Posts: 20 Location: Pune, India
|
Hi,
Is it possible to capture the IP address of request sending application. We can get this information at MQ channel level but I want to get this information using WMB V7
Regards |
|
Back to top |
|
 |
zpat |
Posted: Mon Jun 20, 2011 2:14 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Not unless it is stored in the message somehow. Which is not a standard capability of MQ. |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Jun 20, 2011 4:25 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
As has been said, if you are using WMQ then the ip address of the client is not part of the message OOTB.
Your original post didn't say if you were using other protocols. Protocols sush as HTTP & SOAP (Http with a wrapper) do include the caller's IP address.
Would you care to explain why you want this information? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
sudhir |
Posted: Mon Jun 20, 2011 4:52 am Post subject: |
|
|
Novice
Joined: 17 Dec 2002 Posts: 20 Location: Pune, India
|
Requesting application will use Server Connection channel and send message in MQ queue. Requirement is for audit purpose as we have many requesting application running on different servers.
Regards |
|
Back to top |
|
 |
zpat |
Posted: Mon Jun 20, 2011 5:01 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If the putting application were to populate the MQMD.Applid field then this information would be available in the broker.
Other ways would be to include some identity information in the message data itself. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jun 20, 2011 5:04 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Another way to look this info up would be "REQPLYTOQ". If many apps putting into the same input queue, I think they may have different reply queues. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
|