Re: cxf spring configuration (camel 1.5.0)

2009-01-23 Thread Willem Jiang
I just created a JIRA[1] for it, it should be fixed in the coming up CAMEL 1.6. [1]https://issues.apache.org/activemq/browse/CAMEL-1294 Willem Willem Jiang wrote: > Hi, > > Current cxfEndpoint can't be directly used as a camel Endpoint. > You need to change your camel context > >xmlns="htt

Re: Definining interceptors in camel-cxf

2009-01-23 Thread Willem Jiang
I think it may relate to the change of camel's repository. We need to update the deploy script :(. Before that , check out the code and build it locally is a option. Willem William Tam wrote: > The stack does not match the current source. (It points to the old > CxfProducer before refactoring

Re: cxf spring configuration (camel 1.5.0)

2009-01-23 Thread Willem Jiang
Hi, Current cxfEndpoint can't be directly used as a camel Endpoint. You need to change your camel context http://activemq.apache.org/camel/schema/spring"; id="camel" useJmx="false"> Willem pevgen wrote: > Hello. > > I try to configurate a

Proper way to escape invalid XML characters

2009-01-23 Thread Tom T.
I'm using Camel 1.2 and won't be able to upgrade for various reasons. We are encountering some Vertical Tabs (0xb) characters and would like to strip them when Marshaling the message. I am setting a JaxbDataFormat as the marshaller. And I see it instantiates a com.sun.xml.bind.v2.runtime.Marsha

Re: Definining interceptors in camel-cxf

2009-01-23 Thread William Tam
FWIW, I added a unit test for cxf bus injection. w...@lenw500:~/repos/apache/camel/trunk/components/camel-cxf$ svn ci -m "add a unit test for cxf bus injection" Sending camel-cxf/src/test/java/org/apache/camel/component/cxf/spring/CxfEndpointBeanTest.java Adding camel-cxf/src/test

Re: Definining interceptors in camel-cxf

2009-01-23 Thread William Tam
org.apache.camel.Component and org.apache.camel.Endpoint interfaces are not generic in 2.0 is expected. it is a clean up effort in 2.0. On Fri, Jan 23, 2009 at 12:01 PM, William Tam wrote: > The stack does not match the current source. (It points to the old > CxfProducer before refactoring.)

Re: Definining interceptors in camel-cxf

2009-01-23 Thread William Tam
The stack does not match the current source. (It points to the old CxfProducer before refactoring.) Could you compile manually and re-test it? Any idea why the 2.0 snapshot is more than a week old, anyone? On Fri, Jan 23, 2009 at 10:44 AM, S. Ali Tokmen wrote: > Hello > > Unfortunately, Cam

Re: sql component with no parameters

2009-01-23 Thread nojonojo
First of all, I'm using the 2.0 snapshot. The following yields a NullPointerException when I hit http://localhost:8080/users: from("restlet:http://localhost:8080/users?restletMethod=GET";).to( "sql:select usertext from user?dataSourceRef=camelDB

cxf spring configuration (camel 1.5.0)

2009-01-23 Thread pevgen
Hello. I try to configurate a cxf-endpoint in a spring config. But i got error "org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'serviceEndpoint' must be of type [org.apache.camel.Endpoint], but was actually of type [org.apache.camel.component.cxf.spring.CxfEndpointB

Re: Definining interceptors in camel-cxf

2009-01-23 Thread S. Ali Tokmen
Hello Unfortunately, Camel 2.0-SNAPSHOT and CXF 2.2-SNAPSHOT (versions present on the 23/01/2009) seem to break. I have an exception: java.lang.NullPointerException at org.apache.camel.component.cxf.CxfProducer.createClientFromClientFactoryBean(CxfProducer.java:97) a

Re: Using Camel without lock-in? swap out ESB later?

2009-01-23 Thread cmoulliard
You can use the same jms queue between Camel instance running in servicemix or standalone (with ActiveMq) and another instance running Tibco or Sonic MQ or WebSphere MQ hanasaki wrote: > > Any way to use Camel and later continue its use but swap out the ESB > (servicemix) for another vendor?

Re: sql component with no parameters

2009-01-23 Thread cmoulliard
What do you mean by 'no binding parameters' ? Can you provide an example of what you would like to do and the route please ? nojonojo wrote: > > From observing behavior and looking at the code of SqlProducer, it doesn't > seem like it's possible to use a query with no binding parameters (and >

Re: How to expose a CXF WebService as an Endpoint with DSL ?

2009-01-23 Thread Willem Jiang
Hi , I know you need more implementation detail , not just some example :) Guillaume Renault wrote: > Hi list, > > Thx for the answer Willem. However, i did read the wiki page before, and > analysed the example, but finally didn't really found what i was looking for. > Here are some questions t

Re: Camel with Tibco? OpenESB?

2009-01-23 Thread cmoulliard
Hi, Camel is a Java/spring routing engine supporting different components (jms, http, ftp, ). It can run as : 1) a standalone application (http://cwiki.apache.org/CAMEL/running-camel-standalone.html) 2) can be embedded in another application like : a) Web server (http://camel.apache.org/

Re: How to expose a CXF WebService as an Endpoint with DSL ?

2009-01-23 Thread Claus Ibsen
Hi Maybe part 5 of this tutorial can help you a bit http://camel.apache.org/tutorial-example-reportincident.html Its exposing a POJO webservice in pure Java On Fri, Jan 23, 2009 at 12:43 PM, Guillaume Renault wrote: > Hi list, > > Thx for the answer Willem. However, i did read the wiki page be

Re: How to expose a CXF WebService as an Endpoint with DSL ?

2009-01-23 Thread Guillaume Renault
Hi list, Thx for the answer Willem. However, i did read the wiki page before, and analysed the example, but finally didn't really found what i was looking for. Here are some questions that i'm still asking :-) : (BTW, i'm using java to configure Camel, and not spring) 1. In the example of