camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Issue with recipientList and cxf in 2.8.0?
Date Wed, 12 Oct 2011 20:35:55 GMT
Hi
yep I have seen this issue too.
To me it looks like the cache for the endpoints gets messed up somehow.
At least that's the furthest point I got down to.

But my workaround has been to define a "RequestContext" header with a map
containing
org.apache.cxf.message.Message.ENDPOINT_ADDRESS and the address as value.

see also [1] and [2]

regards, Achim

[1] - http://markmail.org/message/utd4cwdzyktqwufd

[2] - https://issues.apache.org/jira/browse/CAMEL-4503

2011/10/12 sanjai <sanjai@sanjai.org>

> Hello all,
>
> I have a route that had been working fine in our production system.  The
> route is fairly basic.  It simply reads messages of a JMS queue, does some
> processing on the message and then sends the message to multiple cxf
> endpoints.  The sending to multiple endpoints is done by using
> recipientList
> as follows:
>
> <recipientList delimiter=",">
>    <header>recipientList</header>
> </recipientList>
>
> Where the recipientList will look like this in my test environment:
>
> cxf:bean:csgEndpoint?address=
> http://localhost:9091/,cxf:bean:csgEndpoint?address=http://localhost:9090/
>
> The recipientList is generated dynamically.
>
> This was working fine in camel 2.7.3.  However, it broke when I upgraded to
> 2.8.0.
>
> In 2.8.0, the web service on port 9091 will only be called for the first
> message processed.  After that it will not be called, but the web service
> on
> port 9090 will be called twice for each message.  Really weird.  Again,
> this
> was working fine in 2.7.3.  I looked at the 2.8.0 release notes but not see
> anything obvious on changes to recipientList that will cause this
>
> Has anywone else seen this or have any ideas on how to get around this
> issue?
>
> Thanks
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Issue-with-recipientList-and-cxf-in-2-8-0-tp4896788p4896788.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
--
*Achim Nierbeck*


Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>  Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>

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