If it is possible to use Spring to create the route, you can name the cxfendpoint beans differently.

On 07/26/2010 05:35 AM, Willem Jiang wrote:
Maybe CxfEndpoint didn't take the DataFormat parameter into account when it build the Endpoint URI :(

Willem

Claus Ibsen wrote:
On Mon, Jul 26, 2010 at 11:17 AM, S. Ali Tokmen
<[email protected]> wrote:
Hello

The endpoint URIs are the URIs of endpoints, for example when using in the
from(...) or to(...) definitions.


You should post the endpoints used as it can depends on per component
how it "regard" endpoints as equal.



We are using CAMEL 2.3.0.

Cheers

S. Ali Tokmen
[email protected]

Office: +33 4 76 29 76 19
GSM:    +33 66 43 00 555

Bull, Architect of an Open World TM
http://www.bull.com


On 26/07/2010 11:01, Claus Ibsen wrote:
What are the endpoints uris?

And what Camel version are you using.


On Mon, Jul 26, 2010 at 10:41 AM, S. Ali Tokmen
<[email protected]>  wrote:

Hello

In my route, I have 2 endpoints that shares the same real URL underneath.
To
be clear, the difference between the 2 endpoints is the dataFormat mode:
one
is PAYLOAD and the other is POJO.

The idea was to be able to performance test each of theses routes
independently while sharing most of the route definition.

It seems this is not possible because the cache use the endpoint URL as a
key (which is the same with my 2 Endpoints)

Is there any way to fix this behaviour? I have indeed seen that the
ProducerCache has a doGetProducer method with a pooled parameter, but
that
parameter is always set to "true".

Cheers

--

S. Ali Tokmen
[email protected]

Office: +33 4 76 29 76 19
GSM:    +33 66 43 00 555

Bull, Architect of an Open World TM
http://www.bull.com












Reply via email to