|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
User Node and WMB Trace, don't working |
« View previous topic :: View next topic » |
Author |
Message
|
ovasquez |
Posted: Thu Feb 11, 2010 3:06 pm Post subject: User Node and WMB Trace, don't working |
|
|
 Centurion
Joined: 09 Dec 2005 Posts: 141 Location: Lima, Peru
|
I develoment a User node, i use Java, this work fine, but i like integration with WMB User Trace, but don't work...my node never catch Trace ON, for example when i start WMB trace
(mqsichangetrace Broker -u -e default -f My_Flow -l debug )
Code: |
public void evaluate(MbMessageAssembly assembly, MbInputTerminal inTerm) throws MbException
{
. . .
System.out.println(">>>>>>>>>>>>>>>>>>>>>>"+com.ibm.broker.trace.Trace.isOn);
...
|
Print: False ....ever.
What is the problem¿?, is posibled User Node catch User Trace from WMB¿? _________________ Oscar Vásquez Flores |
|
Back to top |
|
 |
kimbert |
Posted: Thu Feb 11, 2010 3:17 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
The problem is that you are trying to write to the user trace using System.out.println. What made you think that this was possible? |
|
Back to top |
|
 |
ovasquez |
Posted: Thu Feb 11, 2010 3:21 pm Post subject: |
|
|
 Centurion
Joined: 09 Dec 2005 Posts: 141 Location: Lima, Peru
|
kimbert wrote: |
The problem is that you are trying to write to the user trace using System.out.println. What made you think that this was possible? |
Not...is only test, i like catch Trace status...my complete code:
Quote: |
if(Trace.isOn) Trace.logNamedTrace(this,"method", "text");
|
BUT Trace.isOn is False...every... _________________ Oscar Vásquez Flores |
|
Back to top |
|
 |
kimbert |
Posted: Thu Feb 11, 2010 3:31 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
|
Back to top |
|
 |
ovasquez |
Posted: Thu Feb 11, 2010 3:40 pm Post subject: |
|
|
 Centurion
Joined: 09 Dec 2005 Posts: 141 Location: Lima, Peru
|
...this help is about class ..MbService, for Log message.in system log..for example syslog or eventviewer in windows...i need information about WMB User Trace... _________________ Oscar Vásquez Flores |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|