On Dec 17, 2007 3:50 PM, Alex Boisvert <[EMAIL PROTECTED]> wrote: > I think it's different than the correlationId case, which is meant to > track > the end-to-end processing of a given request.
Yeah. The purpose is really different, but I meant the problem is related to the fact that BPEL often have multiple provider endpoints so that they receive exchanges from different consumers. > > > In this case, I was thinking about sending the partnerLink's myRole > endpoint > (if any). My only issue is the encoding of the endpoint as a String. > I'm > not sure how ServiceMix treats the String. > > What do you think? This information is used to be able to draw some diagrams (as in http://servicemix.apache.org/visualisation.html) or such tasks related to the flow of information inside ServiceMix. If the value sent is not the same as the one that receives the JBI exchange, the whole flow won't be viewed. The information can still be used by a router of something like that, so there is still some value in it. Jan, can you comment on your exact need ? What would you use this value for ? > > alex > > > On 12/17/07, Guillaume Nodet <[EMAIL PROTECTED]> wrote: > > > > There is a small problem though as how to build the needed value. The > > problem will be the exact same as with correlationIds. > > Let me explain: usually in ServiceMix, a given endpoint represents a > > service > > and can act as a provider and/or a consumer, but there is only one > > endpoint. In a bpel process, the process instance can receive multiple > > exchanges, so there may be multiple provider endpoints. In such a case, > > there is no simple way to create the needed value afaik. > > I would imagine that when there is a single receive with a > > createInstance="true", that the corresponding endpoint would be used. > In > > more complicated cases, it don't see any simple solution. > > > > On Dec 17, 2007 9:18 AM, Wielek, Lukasz < > [EMAIL PROTECTED]> > > wrote: > > > > > > > > Alex, > > > > > > (I'm speaking on behalf of Jan.) > > > > > > Probably what you are looking for is > > > org.apache.servicemix.jbi.servicedesc.EndpointSupport.getKey > (ServiceEndp > > > oint). > > > The endpoint passed to the getKey method should be the > > > endpoint which performs invoke. > > > > > > Regards, > > > Lukasz Wielek > > > > > > -----Original Message----- > > > From: Alex Boisvert [mailto:[EMAIL PROTECTED] > > > Sent: Saturday, December 15, 2007 1:25 AM > > > To: dev@ode.apache.org > > > Subject: Re: JbiConstants.SENDER_ENDPOINT property not set on MEX > > > > > > Do you know what should be the value associated with the > SENDER_ENDPOINT > > > property? I looked around the ServiceMix code and it's assumed to be > a > > > short String identifier but I can't figure out what the format of the > > > string > > > value should be. I was initially expecting to place the EPR ( > > > org.w3c.dom.DocumentFragment) of the partnerLink's myRole but that > > > doesn't > > > seem to fit the model here. > > > > > > alex > > > > > > > > > On 12/14/07, Cwik, Jan <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi, > > > > > > > > It would be good to have suche a feature, it's not critical but very > > > > nice to have. It would let track the message flow better in our > > > project. > > > > > > > > Could you please take care of it ? > > > > > > > > best regards > > > > jan > > > > > > > > -----Original Message----- > > > > From: Alex Boisvert [mailto:[EMAIL PROTECTED] > > > > Sent: Thursday, December 13, 2007 6:38 PM > > > > To: dev@ode.apache.org > > > > Subject: Re: JbiConstants.SENDER_ENDPOINT property not set on MEX > > > > > > > > On 12/12/07, Cwik, Jan <[EMAIL PROTECTED]> wrote: > > > > > > > > > > It seems that upon invoking a service from within the bpel the > > > > property > > > > > JbiConstants.SENDER_ENDPOINT > > > ("org.apache.servicemix.senderEndpoint") > > > > is > > > > > not set on MEX. > > > > > > > > > > I have a servicemix exchange listener and when messages comes to > > > this > > > > > listener I'm not able to say from where it is. Please advise what > to > > > > do > > > > > ? Is it a bug or I need to do something to make ODE setting this > > > > > property. > > > > > > > > > > > > Hi Jan, > > > > > > > > It isn't a bug per se, since the property isn't mandated by the JBI > > > > spec. I > > > > would qualify it as an improvement of our ServiceMix integration. > Is > > > > this > > > > something you feel qualified to work on and submit a patch? If not, > I > > > > can > > > > take care of it. > > > > > > > > alex > > > > > > > > > > > > > > > -- > > Cheers, > > Guillaume Nodet > > ------------------------ > > Blog: http://gnodet.blogspot.com/ > > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/