Re: CXFRS Routing in 2.2.0 does not behave like in 2.0.0

2010-03-29 Thread jejmaster
gt; >>>>>> >>>>> address="http://localhost:8080/services/rest"; >>>>>> serviceClass="com.project.service.impl.TestManagerImpl" /> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> xmlns="http://camel.apache.org/schema/spring";> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Thanks. >>>>>> >>>>>> >>>>>> >>>>>> willem.jiang wrote: >>>>>>> You are using CXFServlet transport, can I have a look at your hole >>>>>>> application context configuration? >>>>>>> It may relate to CXF Bus configuration. >>>>>>> >>>>>>> Willem >>>>>>> >>>>>>> jejmaster wrote: >>>>>>>> Hello, >>>>>>>> >>>>>>>> Currently, I tried to upgrade Camel version from 2.0.0 to 2.2.0 and >>>>>>>> CXF >>>>>>>> version to 2.2.2 to 2.2.6. In 2.0.0, I have a CXFRS Endpoints and >>>>>>>> Route >>>>>>>> as >>>>>>>> follows: >>>>>>>> >>>>>>>> >>>>>>> serviceClass="com.project.service.impl.ServiceManagerImpl" /> >>>>>>>> >>>>>>>> >>>>>>> address="http://localhost:8080/services/rest"; >>>>>>>> serviceClass="com.project.service.impl.ServiceManagerImpl" /> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Upon invoking the restRouter, it causes an error which roots to 404 >>>>>>>> not >>>>>>>> found "http://localhost:8080/services/rest/restRouter/". >>>>>>>> It >>>>>>>> seems >>>>>>>> that the address restEndpoint Address is being appended by the >>>>>>>> restRouter's >>>>>>>> address. Thus, making the invocation fails. >>>>>>>> >>>>>>>> I would like to know what should be the fix here. Is this a current >>>>>>>> limitation with camel 2.2.0 and CXF 2.2.6? >>>>>>>> >>>>>>>> I have created an issue at >>>>>>>> https://issues.apache.org/activemq/browse/CAMEL-2575. >>>>>>>> >>>>>>>> Thanks in advance. >>>>>>>> >>>>>>>> >>>>> >>> >>> >> > > > -- View this message in context: http://old.nabble.com/CXFRS-Routing-in-2.2.0-does-not-behave-like-in-2.0.0-tp28038017p28066491.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CXFRS Routing in 2.2.0 does not behave like in 2.0.0

2010-03-28 Thread Willem Jiang
Hi Jejo, httpClientAPI will use the message header with Exchange.HTTP_URI to generate the request URI, the proxyClient API will build up the request URI by checking the service class. After digging the code for a while, I found the key of your issue, and did a quick fix[1] for it. [1]http:

Re: CXFRS Routing in 2.2.0 does not behave like in 2.0.0

2010-03-28 Thread jejmaster
gt;>>> >>>> >>>> >>>> willem.jiang wrote: >>>>> You are using CXFServlet transport, can I have a look at your hole >>>>> application context configuration? >>>>> It may relate to CXF Bus configuration. >>>>> >>>>> Willem >>>>> >>>>> jejmaster wrote: >>>>>> Hello, >>>>>> >>>>>> Currently, I tried to upgrade Camel version from 2.0.0 to 2.2.0 and >>>>>> CXF >>>>>> version to 2.2.2 to 2.2.6. In 2.0.0, I have a CXFRS Endpoints and >>>>>> Route >>>>>> as >>>>>> follows: >>>>>> >>>>>> >>>>> serviceClass="com.project.service.impl.ServiceManagerImpl" /> >>>>>> >>>>>> >>>>> address="http://localhost:8080/services/rest"; >>>>>> serviceClass="com.project.service.impl.ServiceManagerImpl" /> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Upon invoking the restRouter, it causes an error which roots to 404 >>>>>> not >>>>>> found "http://localhost:8080/services/rest/restRouter/". It >>>>>> seems >>>>>> that the address restEndpoint Address is being appended by the >>>>>> restRouter's >>>>>> address. Thus, making the invocation fails. >>>>>> >>>>>> I would like to know what should be the fix here. Is this a current >>>>>> limitation with camel 2.2.0 and CXF 2.2.6? >>>>>> >>>>>> I have created an issue at >>>>>> https://issues.apache.org/activemq/browse/CAMEL-2575. >>>>>> >>>>>> Thanks in advance. >>>>>> >>>>>> >>>>> >>> >>> >> > > > -- View this message in context: http://old.nabble.com/CXFRS-Routing-in-2.2.0-does-not-behave-like-in-2.0.0-tp28038017p28064083.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CXFRS Routing in 2.2.0 does not behave like in 2.0.0

2010-03-26 Thread Willem Jiang
Can you create a JIRA[1] with a small test case to reproduce the error? I will dig this error when I get time today. BTW, can you also check the log to see if the CXFRS server starts rightly ? Willem jejmaster wrote: I already tried Camel 2.3-SNAPSHOT and the behavior is still the same as the v

Re: CXFRS Routing in 2.2.0 does not behave like in 2.0.0

2010-03-26 Thread jejmaster
gt;> as >>>> follows: >>>> >>>> >>> serviceClass="com.project.service.impl.ServiceManagerImpl" /> >>>> >>>> >>> address="http://localhost:8080/services/rest"; >>>> serviceClass="com.project.service.impl.ServiceManagerImpl" /> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Upon invoking the restRouter, it causes an error which roots to 404 not >>>> found "http://localhost:8080/services/rest/restRouter/". It >>>> seems >>>> that the address restEndpoint Address is being appended by the >>>> restRouter's >>>> address. Thus, making the invocation fails. >>>> >>>> I would like to know what should be the fix here. Is this a current >>>> limitation with camel 2.2.0 and CXF 2.2.6? >>>> >>>> I have created an issue at >>>> https://issues.apache.org/activemq/browse/CAMEL-2575. >>>> >>>> Thanks in advance. >>>> >>>> >>> >>> >> > > > -- View this message in context: http://old.nabble.com/CXFRS-Routing-in-2.2.0-does-not-behave-like-in-2.0.0-tp28038017p28039011.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CXFRS Routing in 2.2.0 does not behave like in 2.0.0

2010-03-25 Thread Willem Jiang
Hi, Can you try to use the latest Camel 2.3.0-SNAPSHOT? I just remembered I fixed a bus related issue[1] last month. [1]https://issues.apache.org/activemq/browse/CAMEL-2465 Willem jejmaster wrote: Okay so here's how i defined my applicationContext for camel routing. By the way, I am using b

Re: CXFRS Routing in 2.2.0 does not behave like in 2.0.0

2010-03-25 Thread jejmaster
, it causes an error which roots to 404 not >> found "http://localhost:8080/services/rest/restRouter/". It >> seems >> that the address restEndpoint Address is being appended by the >> restRouter's >> address. Thus, making the invocation fails. >> &

Re: CXFRS Routing in 2.2.0 does not behave like in 2.0.0

2010-03-25 Thread Willem Jiang
You are using CXFServlet transport, can I have a look at your hole application context configuration? It may relate to CXF Bus configuration. Willem jejmaster wrote: Hello, Currently, I tried to upgrade Camel version from 2.0.0 to 2.2.0 and CXF version to 2.2.2 to 2.2.6. In 2.0.0, I have a CX

CXFRS Routing in 2.2.0 does not behave like in 2.0.0

2010-03-25 Thread jejmaster
w what should be the fix here. Is this a current limitation with camel 2.2.0 and CXF 2.2.6? I have created an issue at https://issues.apache.org/activemq/browse/CAMEL-2575. Thanks in advance. -- View this message in context: http://old.nabble.com/CXFRS-Routing-in-2.2.0-does-not-behave-like-