Author |
Message
|
akil |
Posted: Mon Jun 22, 2015 2:40 am Post subject: IIB9: URLSpecifiier from EG |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
Hi
Is there a way to figure out the list of properties (such as URLSpecifier used by HTTPRequest) from a broker runtime environment ( no access to BAR files ).. _________________ Regards |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 22, 2015 4:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Code: |
mqsireportproperties .... -o HTTP(S)Connector -r
........
Connector
port='7802'
type='Embedded'
URLRegistration
url='/acmeOrders/WADDR/ProcessOrders'
outstandingRequests='0'
UsedBySOAPNNodes='TRUE'
UsedByHTTPNNodes='FALSE'
nodeLabel='Input'
......
|
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
akil |
Posted: Tue Jun 23, 2015 1:24 am Post subject: |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
Hi
This is for HTTPInput .. I was asking about HTTPRequest.. _________________ Regards |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jun 23, 2015 4:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
akil wrote: |
Hi
This is for HTTPInput .. I was asking about HTTPRequest.. |
And there you could answer your own question: Absolutely no way.
If you come to think about it, the only information you can get is the static information through the broker API. Forget about the dynamic overrides in the message data... so what kind of scenario were you thinking about???  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jun 23, 2015 6:12 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
akil |
Posted: Tue Jun 23, 2015 6:59 pm Post subject: |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
I guess I did not write the question correctly,
I am trying to figure out the list of data sources and List of external services invoked from the message flows that are deployed on a broker.
One way is to read this information from the bar file ,
Another way is the user trace, but that is tedious , and I have to run each message flow,
Is there any other way to get this information from the deployed message flows?
I know that theses aren't being changed programmatically, so these are static property values.. _________________ Regards |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Jun 23, 2015 10:07 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
1) Data Sources
The scripts used for to create the broker will tell you BUT
the list of DSN's will be in the filesystem where the broker config files are held. Each DSN will have its own directory.
2) External Services called by Broker
This is harder. The documentation for the message flows should show what external sources/endpoints are being called from SOAP, HTTP or TCPIP etc nodes.
The message flow could create an HTTP URL dynamically based upon input data but the docs for testing the Flow should give you some help because they will obviously need an endpoint to use for testing.
Here's an idea....
Why not start an endpoint registry for your site? Don't allow anything new to be deployed unless any endpoints (regardless of protocol) is clearly identified.?
{not rocket science really} _________________ 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 |
|
 |
akil |
Posted: Wed Jun 24, 2015 12:29 am Post subject: |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
Thanks,
In-fact, there is an end-point registry but hopelessly out-dated, I am trying to figure out ways to verify this registry against what's deployed .
The bar file's aren't in version control as well, so at this point, it is getting difficult to figure this out .. _________________ Regards |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 24, 2015 4:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
akil wrote: |
Thanks,
In-fact, there is an end-point registry but hopelessly out-dated, I am trying to figure out ways to verify this registry against what's deployed .
The bar file's aren't in version control as well, so at this point, it is getting difficult to figure this out .. |
Have you tried the broker API?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|