ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matthieu.r...@gmail.com>
Subject Re: JBI and correlation of MessageExchange
Date Wed, 07 Mar 2007 15:02:00 GMT

I think you'll just need to do something like:

      String mySess = mex.getProperty(
      String partnerSess = mex.getProperty(

For more information on how we handle the correlations this way:



On 3/5/07, Guillaume Nodet <gnodet@gmail.com> wrote:
> Hi guys !
> In ServiceMix, there is a property named "
> org.apache.servicemix.correlationId"
> that is used to correlate MessageExchanges.
> For example, if a JBI endpoint receives a JBI exchange, and send another
> jbi exchange while processing it, the components will forward this
> property
> from the inbound exchange to the outbound exchange (or create it with a
> unique
> id if none was set).  This enables tracking of a "JBI process".  I think
> would benefit of such a behavior when deployed inside ServiceMix, so I'm
> trying
> to implement it.
> However, I'm not sure what the best way to do that.  I would say that the
> best way
> is to use properties defined on org.apache.ode.bpel.iapi.MessageExchange,
> but I haven't been able to find a way to retrieve these properties from
> a MessageExchangeContext.invokePartner call.
> Any hints on how to do that ?
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message