Author |
Message
|
pathipati |
Posted: Mon Oct 01, 2007 2:42 pm Post subject: Reading client IP in Message Flow. |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
Is there a way to read client IP in a message flow? I am seeing some text like
Quote: |
AMQ BRKRQM 8é·F ▓ |
|
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 01, 2007 2:44 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
That's not a client IP address.
What field contains that data?
What transport is that data arriving on? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
pathipati |
Posted: Mon Oct 01, 2007 3:51 pm Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 01, 2007 4:11 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
jefflowrey wrote: |
What field contains that data? |
_________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
pathipati |
Posted: Mon Oct 01, 2007 4:13 pm Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
InputLocalEnvironment.Destination.HTTP.RequestIdentifier returned me this. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 01, 2007 6:18 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
So, I'd say someone put the MsgId into the requestId and sent it to you, so that when you gave them back a reply, then they could put it into the correlId of the response message they were sending back to the MQ requestor that started their process.
I believe there's been some work done in some FPs of v6 to put the client ip address into a field in the HTTP Header... I think it's an X-Header (X-HTTP-Client-Address or some such).
If you search for posts from mgk you may find something useful in these regards... I'm fuzzy on the details. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
pathipati |
Posted: Mon Oct 01, 2007 7:31 pm Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
I tried below, with no luck...
Quote: |
InputRoot.HTTPInputHeader."X-HTTP-Users-Address"
InputRoot.HTTPInputHeader."X-HTTP-Client-Address"
InputRoot.HTTPInputHeader."X-Header"."X-HTTP-Client-Address"
InputRoot.HTTPInputHeader."X-Original-HTTP-URL"; |
|
|
Back to top |
|
 |
|