Not possible.

When your process is "in memory", EventContext is empty/useless that's
why it is deprecated. (but there is no alternative).
You can't watch state of the variables etc.




-- 
Regards,
Mateusz Nowakowski

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Wednesday, March 10, 2010 6:21 PM
> To: [email protected]
> Subject: BpelEventListener: Acces activity/event-values
> 
> Hello,
> 
> I have the following problem and hope to get some hints.
> I implemented an eventlistener for monitoring the process-execution on
> ODE. Using .toString()-method, which is provided by BpelEvent.class I
> got the following output on my console:
> .....
> ActivityExecEndEvent:
>       ActivityId = 9
>       ActivityName = replyOutput
>       ActivityType = OReply
>       ActivityDeclarationId = 27
>       Type = activityLifecycle
>       ScopeDeclarationId = 3
>       ScopeName = __PROCESS_SCOPE:HelloBPELProcess
>       ParentScopesNames = [__PROCESS_SCOPE:HelloBPELProcess]
>       ScopeId = 10801
>       ProcessInstanceId = 10751
>       ProcessId = {http://}HelloBPELProcess-110
>       ProcessName = {http://}HelloBPELProcess
>       LineNo = 81
>       Timestamp = Wed Mar 10 17:07:33 CET 2010
>       Class = class org.apache.ode.bpel.evt.ActivityExecEndEvent....
> 
> 
> Now I need to access the activity-variables and it's data (ProcessID,
> ProcessInstanceID, ScopeID etc.) from the listet events, but
> BpelEvent.class provides just a toString-Method and a getType-Method,
> which makes the acces confusing.
> 
> Is there a possibily to acces this information anyhow? In the
> sourcecode of ODE I found an interface "EventContext" that provides
> similar methods, but it is depricated. Is there another option to get
> this data or another way for real-time executive monitoring?
> 
> Thanks to all in advance
> --
> Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
> jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser

Reply via email to