L.S.,
So you want to change the locationURI value for the HTTP provider
endpoint depending on the contents of the message exchange, right?
If you are using the 'old' HTTP endpoint (<http:endpoint/>), you can add
a header to the NormalizedMessage (JbiConstants.HTTP_DESTINATION_URI)
with a new destination to override the locationUri configured on the
endpoint.
If you are using the 'new' HTTP endpoint (<http:provider/>), the
DefaultHttpProviderMarshaler has a locationUriExpression attribute that
allows you to specify an expression for determining the destination URI.
Does this answer your question?
Gert
nautilis22 wrote:
Hi,
I have been trying to use the concept explained in jsr181-orchestraion in my
implementation. I have successfully completed the tutorial, but in my
requirement the information about the http endpoints is sent from the front
end. So it cannot be preconfigured in xbean.xml. I went thrugh the posts of
navigator09. However, it did not help me solve the requirement. How do I
tackle this requirement???