Re: SCA Integration

2009-03-31 Thread Ryan Gardner
On Apr 1, 2009, at 12:10 AM, Willem Jiang wrote: Hi, Sorry, we don't have any SCA relates component in Camel. And We love contributions[1], please feel free to add SCA component[2] if you want to use it in Camel. [1]http://cwiki.apache.org/CAMEL/contributing.html [2]http://camel.apache.org/wri

Re: SCA Integration

2009-03-31 Thread Willem Jiang
Hi, Sorry, we don't have any SCA relates component in Camel. And We love contributions[1], please feel free to add SCA component[2] if you want to use it in Camel. [1]http://cwiki.apache.org/CAMEL/contributing.html [2]http://camel.apache.org/writing-components.html Willem Zhang,Dafang wrote: >

Re: How to reference RouteBuilder in the context - Camel 2.0-snapshot

2009-03-31 Thread Claus Ibsen
On Wed, Apr 1, 2009 at 6:53 AM, Ryan Gardner wrote: > I just switched to 2.0-snapshot and I don't know how to get my routeBuilders > in the context properly. > >     >     > > using a inside my camelcontext > I get this exception on startup: > > Caused by: org.springframework.beans.factory.BeanCr

Re: Setting a path in message header with Camel-http 2.0M1

2009-03-31 Thread Claus Ibsen
On Wed, Apr 1, 2009 at 2:05 AM, m.s. wrote: > > > Claus Ibsen-2 wrote: >> >> If you fancy take a stab at providing a patch then feel welcome >> http://camel.apache.org/support.html >> >> And please create a ticket in JIRA for this bug. >> > > Hi, > > I created a ticket earlier today and just tried

How to reference RouteBuilder in the context - Camel 2.0-snapshot

2009-03-31 Thread Ryan Gardner
I just switched to 2.0-snapshot and I don't know how to get my routeBuilders in the context properly. using a inside my camelcontext I get this exception on startup: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'camel:beanPo

SCA Integration

2009-03-31 Thread Zhang,Dafang
Hi, SCA is listed from the front page of Apache Camel, but unlike other technologies, SCA doesn't have an link. Is there any work done in this area, say, integration with Tuscany? Thanks. -- CONFIDENTIALITY NOTICE This message

Re: Setting a path in message header with Camel-http 2.0M1

2009-03-31 Thread m.s.
Claus Ibsen-2 wrote: > > If you fancy take a stab at providing a patch then feel welcome > http://camel.apache.org/support.html > > And please create a ticket in JIRA for this bug. > Hi, I created a ticket earlier today and just tried to provide a patch. I am not sure about the procedure, ju

Re: Camel RSS and Atom components

2009-03-31 Thread Jeroen Reijn
Well I changed my patch, but am a bit stuck on the unit test part. It seems that the error only occured while using the Spring XML configuration for the routes, so a unit test with just plain with plain java won't actually prove that it works. I'm looking at the camel code base for some Spring XM

Re: Camel Transport for CXF

2009-03-31 Thread notsure
Fixed... Thanks for your help. Great work BTW. notsure wrote: > > Thanks for the validation, I did switch to the jetty component after > reading the documentation a few times. However I can no longer access my > wsdl file, how do I fix that? > > > > willem.jiang wrote: >> >> No, you should

Re: Camel Transport for CXF

2009-03-31 Thread notsure
Thanks for the validation, I did switch to the jetty component after reading the documentation a few times. However I can no longer access my wsdl file, how do I fix that? willem.jiang wrote: > > No, you should not use the Camel transport for CXF for your case > Basically, if you want to lever

Re: Camel RSS and Atom components

2009-03-31 Thread Jeroen Reijn
Oops it seems my patch brakes all file system based RSS tests :-( Will let you know once it's fixed :-) Jeroen Jeroen Reijn wrote: > > Hi Hadrian! > > thanks for your feedback. It was indeed fun to do. > I'll try to write the unit test today and attach it to the JIRA issue. > > I will reply h

Re: Camel Transport for CXF

2009-03-31 Thread Willem Jiang
No, you should not use the Camel transport for CXF for your case Basically, if you want to leverage the Camel's component to implement a new transport for CXF , you can use this Camel Transport for CXF. But for your case, you just need to route the SOAP request to different service endpoints. You

Re: Type converters with Spring

2009-03-31 Thread James Strachan
2009/3/31 Martin Gilday : > Thanks, we will give those a try. > > As your suggestions seem to differ from what I quoted I am still > interested in what the docs are referring to here > http://camel.apache.org/type-converter.html  Any ideas what it means by > plugging in an Injector?  I'll try and u

Re: Type converters with Spring

2009-03-31 Thread Claus Ibsen
On Tue, Mar 31, 2009 at 12:37 PM, Martin Gilday wrote: > Thanks, we will give those a try. > > As your suggestions seem to differ from what I quoted I am still > interested in what the docs are referring to here > http://camel.apache.org/type-converter.html  Any ideas what it means by > plugging i

Re: Camel Transport for CXF

2009-03-31 Thread notsure
Thank you for the timely response, I have the camel-cxf.jar in the classpath. I'm trying to set my routes and I get a looping issue. I would like to achieve the following: Service A receives a soap message and routes it to an outside service based on content of the soap (namespace most likely) i

Re: Type converters with Spring

2009-03-31 Thread Martin Gilday
Thanks, we will give those a try. As your suggestions seem to differ from what I quoted I am still interested in what the docs are referring to here http://camel.apache.org/type-converter.html Any ideas what it means by plugging in an Injector? I'll try and update the wiki if this section is inc

Re: Camel Transport for CXF

2009-03-31 Thread Willem Jiang
Hi, Did you put the camel-cxf.jar into your class path? BTW, Since we use the Spring customer namespace handler to deal with the camel:destination please make sure the camel-cxf.jar's META-INF/spring.handlers and META-INF/spring.schemas are loadable by Spring. Willem notsure wrote: > I have a ja

Re: Type converters with Spring

2009-03-31 Thread Claus Ibsen
Hi Or pass in Exchange as the 2nd parameter. Using Exchange you can get hold on the CamelContext and thus the registry as well, and do lookup for Spring beans. On Tue, Mar 31, 2009 at 12:01 PM, James Strachan wrote: > 2009/3/31 Martin Gilday : >> I'd like to have a converter which uses a Sprin

Re: Type converters with Spring

2009-03-31 Thread James Strachan
2009/3/31 Martin Gilday : > I'd like to have a converter which uses a Spring @service to do lookups. >  According to the docs "If a converter requires configuration you can > plug in an Injector interface to the DefaultTypeConverter which can > construct and inject converter objects via Spring or G

Type converters with Spring

2009-03-31 Thread Martin Gilday
I'd like to have a converter which uses a Spring @service to do lookups. According to the docs "If a converter requires configuration you can plug in an Injector interface to the DefaultTypeConverter which can construct and inject converter objects via Spring or Guice." I'm unsure what it means b

Re: Setting a path in message header with Camel-http 2.0M1

2009-03-31 Thread Claus Ibsen
On Tue, Mar 31, 2009 at 10:20 AM, m.s. wrote: > > > Claus Ibsen-2 wrote: >> >> >> Could you take a look in the camel-http component? >> I suspect it does not concat the HTTP_PATH and HTTP_URI headers. >> >> Could be a glitch in there. >> > > > Hi, > > I think you are right. In the HttpProducer.cre

Re: Setting a path in message header with Camel-http 2.0M1

2009-03-31 Thread m.s.
Claus Ibsen-2 wrote: > > > Could you take a look in the camel-http component? > I suspect it does not concat the HTTP_PATH and HTTP_URI headers. > > Could be a glitch in there. > Hi, I think you are right. In the HttpProducer.createMethod() of the camel-http component, the URI is taken fro

Re: Camel RSS and Atom components

2009-03-31 Thread Jeroen Reijn
Hi Hadrian! thanks for your feedback. It was indeed fun to do. I'll try to write the unit test today and attach it to the JIRA issue. I will reply here once the unit test is attached. Regards, Jeroen hzbarcea wrote: > > Hi Jeroen, > > Many thanks for reporting this and producing a patch.