Hi Rene,

all ODE-Events are located in the package "org.apache.ode.bpel.evt". Here
you can add your new event-classes. An event can only be thrown if you
integrate the new event class in the event hierarchy. The root class of this
hierarchy is "org.apache.ode.bpel.evt.BpelEvent".

To throw an event the method "sendEvent" of the class
"org.apache.ode.bpel.runtime.ACTIVITY" musst be invoked. You can check if
the new event was thrown correctly if you register an event listener and
look for that event.

Best regards,

Daniel

On Sun, Oct 25, 2009 at 6:14 PM, ReneR. <[email protected]> wrote:

>
> Hello,
>
> is it possible to create your own events in ODE?
> We are currently working on a project with BPEL and ODE and we need to
> create new activities.
> To monitore these activities we would need some new events.
>
> So if it is possible to create own events i would also like to know how
> this
> can be done.
>
> Greetings!
> --
> View this message in context:
> http://www.nabble.com/Creating-own-events-in-ODE-tp26049832p26049832.html
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>

Reply via email to