CXFRS Routing in 2.2.0 does not behave like in 2.0.0

2010-03-25 Thread jejmaster
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: cxf:rsServer id=restRouter address=/restRouter/ serviceClass=com.project.service.impl.ServiceManagerImpl / cxf:rsClient

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

2010-03-25 Thread jejmaster
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: cxf:rsServer id=restRouter address=/restRouter/ serviceClass

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

2010-03-26 Thread jejmaster
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 both Soap

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

2010-03-28 Thread jejmaster
willem.jiang wrote: 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

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

2010-03-29 Thread jejmaster
, I found the key of your issue, and did a quick fix[1] for it. [1]http://svn.apache.org/viewvc?rev=928575view=rev jejmaster wrote: Hi Willem, I think there is a problem with the httpClientAPI. I was able to make it work when I set it to false and make it use the proxyClientAPI

Convert CXFRS XML Response To HL7 Format

2010-03-29 Thread jejmaster
Hi, I would like to inquire regarding converting a CXFRS XML Response to HL7 Format. Currently I have this cxfrs route: cxf:rsServer id=restRouter address=/restRouter/ serviceClass=com.project.service.impl.ServiceManagerImpl / cxf:rsClient id=restEndpoint

Setting Content-Type Header to route

2010-03-30 Thread jejmaster
Hi, I would like to ask on how to set the content-type header into the camel route with transform method. route from uri=direct:testEndpoint/ to uri=direct:testEndpoint2/ transform simpletag ${body} /tag/simple /transform /route How will I set the content-type header to application/xml ?

Null parameters when routing CXFRS endpoints

2010-04-08 Thread jejmaster
Hello, I am using the Camel 2.3-SNAPSHOT and implementing the CXFRS routing through ProxyClient. I have setup my JAXRS Service Class method to accept 2 parameters, a String and an Object. The service is working fine when i am invoking it directly but when i am using the cxfrs camel routing,

Re: Null parameters when routing CXFRS endpoints

2010-04-08 Thread jejmaster
in the testProcessor? If you don't set the exchange.outMessage(), you should get the right parameter from the inMessage body. Willem jejmaster wrote: Hello, I am using the Camel 2.3-SNAPSHOT and implementing the CXFRS routing through ProxyClient. I have setup my JAXRS Service Class

Re: Null parameters when routing CXFRS endpoints

2010-04-09 Thread jejmaster
clients such as Httpclient and URLStream so form parameters can also be allowed. Regards, Jejo jejmaster wrote: Hi Willem, I just used the TestProcessor to see the value of the inMessage.getBody() because even if there's no processor, the parameters really gets null when routed. I am

Re: Null parameters when routing CXFRS endpoints

2010-04-09 Thread jejmaster
to create the Proxy without specify the ResourceClass. HttpClient API is more friendly, as you don't need to specify the ResourceClass when creating the client. Willem jejmaster wrote: Hi Willem, Its working enough in 2.3-SNAPSHOT. but we decided to use 2.2 as of the moment until 2.3 gets

Re: Null parameters when routing CXFRS endpoints

2010-04-10 Thread jejmaster
(Exchange exchange), you will find you need to set CxfConstants.CAMEL_CXF_RS_VAR_VALUES message header to set the varValues if there are more than one resource class to create a right proxy. Willem jejmaster wrote: I see. That's great. So you mean the serviceClass parameter is optional when

Re: Null parameters when routing CXFRS endpoints

2010-04-11 Thread jejmaster
jejmaster wrote: Hi Willem, Thats another good feature. But how do you set the Object[] varValues on CxfConstants.CAMEL_CXF_RS_VAR_VALUES message header via spring xml? from uri=cxfrs://bean://rsServer/ !-- We can remove this configure as the CXFRS producer is using the HttpAPI

Changing Endpoint URI's at runtime

2010-05-20 Thread jejmaster
Hi, I would like to inquire on how to change endpoint uri at runtime. We have cxfrs routes which we need to change the adresses dynamically through database. cxf:rsClient id=client1 address=http://localhost:5001; serviceClass=com.proj.test.TestService / Thanks in

CamelSpringTestSupport and Hibernate Transactions

2010-05-31 Thread jejmaster
Hi I would like to inquire regarding Transactional Services support for CamelSpringTestSupport. Apparently, I am experiencing Transaction problems (cant call commit when auto-commit=true) when running camel tests when my spring services are transactional. Is there a camel spring test support

Re: CamelSpringTestSupport and Hibernate Transactions

2010-06-01 Thread jejmaster
Okay, I got it now, In my route, I just need to declare it as transacted. jejmaster wrote: Hi I would like to inquire regarding Transactional Services support for CamelSpringTestSupport. Apparently, I am experiencing Transaction problems (cant call commit when auto-commit=true

Re: Change JMS Consumer broker address dynamically

2010-06-01 Thread jejmaster
address. Thanks, Jejo willem.jiang wrote: Claus Ibsen wrote: On Wed, May 26, 2010 at 6:36 AM, jejmaster jejmas...@gmail.com wrote: Hi, I would like to inquire regarding changing the JMS broker url on run time. Basically, I would like to manage the broker url in the database and for every