Author |
Message
|
brokerics |
Posted: Tue Apr 25, 2006 1:48 am Post subject: Can subflow be 'switched' off ? |
|
|
Apprentice
Joined: 30 Oct 2005 Posts: 45
|
hi
ive a subflow for writing the message passed onto a trace queue. ie
Input -> Compute Node -> MQOutput -> Output (back to main flow)
but later, during deployment, only using bar files, can i bypass this message flow? |
|
Back to top |
|
 |
wschutz |
Posted: Tue Apr 25, 2006 2:02 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Only if you code a FILTER to bypass it. Subflows only exist as separate objects in the toolkit. When you deploy them, the broker just sees "a flow", meaning the subflows are integrated into your main flow and loose their identity as a subflow. _________________ -wayne |
|
Back to top |
|
 |
brokerics |
Posted: Tue Apr 25, 2006 3:19 am Post subject: |
|
|
Apprentice
Joined: 30 Oct 2005 Posts: 45
|
then could someone suggest me a method, where in i could bypass a compute node which writes trace messages onto a queue, using only BAR files.
the point is that, trace messages are not needed in production environment |
|
Back to top |
|
 |
pottas |
Posted: Tue Apr 25, 2006 4:07 am Post subject: |
|
|
 Disciple
Joined: 27 Oct 2005 Posts: 185 Location: South Africa
|
|
Back to top |
|
 |
elvis_gn |
Posted: Tue Apr 25, 2006 4:15 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi brokerics,
What version of MB are u using ?
Are you saying that u dont mind putting the same flow with all the tracing into the production as long as it dosen't work, or gets deactivated....
Is there a way that u are able to know within the flows that you are in the test or production environment ?
The link by pottas is good too.
Regards. |
|
Back to top |
|
 |
EddieA |
Posted: Tue Apr 25, 2006 9:40 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
The Trace node will only create a file that does not exist. It will not create directories. So, you could set the path, which is promotable, to a non-existent dir/path.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|