Author |
Message
|
AravindPrasad |
Posted: Tue Feb 17, 2015 1:50 am Post subject: Usage of Passthrough node |
|
|
Newbie
Joined: 17 Feb 2015 Posts: 2
|
Hi ,
I am using passthrough node in the subflow to check the Version no. of the flow . Under properties tab of passthrough node , Label is given as Version2.0 , So wanted to check whether label is assigned or not to the message flow .
How to check it ?
Thanks
Aravind |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 17, 2015 6:25 am Post subject: Re: Usage of Passthrough node |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
AravindPrasad wrote: |
How to check it ? |
What would be checking to see if the flow is the "right" version by reference to the label? Use that.
Or just look at the deployed flow. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Feb 17, 2015 8:52 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
My guess that the OP wants to check it at runtime as the flow is processing a message.
I can see where this might come in useful where you are running several versions of a WebService. Having some way of identifying which one is being used could be helpful. _________________ 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 |
|
 |
Vitor |
Posted: Tue Feb 17, 2015 9:30 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
smdavies99 wrote: |
I can see where this might come in useful where you are running several versions of a WebService. Having some way of identifying which one is being used could be helpful. |
Urgh.
In my world, different versions of a web service are backwards compatible or have different URLs (perhaps including a version number).
If you mean determining which version is in use for diagnostic purposes, I repeat my previous answer of looking at the deployed flow that's providing an endpoint. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Feb 17, 2015 10:06 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
right to the point as usual then Vitor!!!
I do agree with you though. In my a previous job, a so called 'Consultant' wanted all the message flows to show their version number in all Logging and that the version number MUST be derrived from the version number contained in the code and that the Version number must be the same as shown in SVN.
He always brought it up in meetings despite many attempts at telling him that it wasn't possible. In the end I said (sorry lied) that I'd created an RFE for this to be made possible. I left the job not long after.
I can see a use for it an might have used it if it was available but in my list of the top 100 enhancements, this would be No 400. _________________ 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 |
|
 |
|