Re: cxf endpoint configuration in java DSL

2015-09-23 Thread yogu13
Could you try defining it as below CxfComponent cxfComponent = new CxfComponent(getContext()); CxfEndpoint serviceEndpoint = new CxfEndpoint(SERVICE_ADDRESS, cxfComponent); Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/cxf-endpoint-configuration-in-java-D

Re: cxf endpoint configuration in java DSL

2015-09-23 Thread dsjaxen
Hi! Thanks for the reply. The "camel-cxf" prefix was declared elsewhere for the XML. It was the Java code that I was having trouble with: camelContext_.addRoutes(new RouteBuilder() { @Override public void configure() throws Exception { CxfEndpoint cx

Re: how to get loginConfig into standalone camel salesforce component

2015-09-23 Thread rpcat
it's not getting the salesforce component into the camel context -- View this message in context: http://camel.465427.n5.nabble.com/how-to-get-loginConfig-into-standalone-camel-salesforce-component-tp5771694p5771878.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to get loginConfig into standalone camel salesforce component

2015-09-23 Thread rpcat
Yes, I am referencing the tests. They don't include how to make it work in a standalone camel. The question is how to get the instance of SalesforceComponent in the CamelContext of the instance of standalone org.apache.camel.main.Main. So i've done it in my RouteBuilder configure() where i can add

Persistent status flag

2015-09-23 Thread gordie
I'm really new to camel/fuse. I have implemented a route in Blueprint that calls a java bean that reads a dump file and throws it into a database. The business requires that this is done once a day. The route will run whenever a file is dropped in the correct directory. Is there a way within camel/

Re: cxf endpoint configuration in java DSL

2015-09-23 Thread calyan.bandi
Hi, There is no such namespache as "camel-cxf". You should remove this and use something like below: If there is indeed a namespace such as "camel-cxf" it should be added in your beans tag definition. Thanks, Kalyan -- View this message in context: http://camel.465427.n5.nabble.com/cxf-end

Re: onCompletion / exchange.isFailed() does not 'see' exception.

2015-09-23 Thread calyan.bandi
Hi, Hope the below gives a better understanding to the users. There are two properties provided when dealing with exceptions - continued and handled. 1. handled - Again this property can be set with either true/false. TRUE: Do not send it further down the route. No exception sent back to

Re: Processing response from REST service - cxfrs client component

2015-09-23 Thread calyan.bandi
Hi, Option "streamCache" can be set on the route in order to capture and buffer the received inputstream and not to close it. Just use the option as specified below: ... ... First time developers who are working with cxfrs component will find this very annoying unless they are aware of this

Re: Spring DSL + Camel + Ehcache help required

2015-09-23 Thread rakesh.shelar
And my cache endpoint goint to be in of as per given example -- View this message in context: http://camel.465427.n5.nabble.com/Spring-DSL-Camel-Ehcache-help-required-tp5771836p5771867.html Sent from the Camel - Users mailing list archive at Nabble.com.

The new camel-swagger-java module in Apache Camel 2.16

2015-09-23 Thread Claus Ibsen
Hi I just recorded a 5 minute video showing this in action http://www.davsclaus.com/2015/09/apache-camel-216-swagger-java-and-api.html At least with this new model the swagger is more light-weight (just java) and its auto detected easily from Camel, and you can run it in any JVM (not only servlet

Re: Split XML with xmlTokenizer and add root element?

2015-09-23 Thread ApacheCamel_User99
Hi All, I might be late to reply this. Just had the same requirement of Adding the Root tags and the namespace to the split xml's. Just achieved this by the below. I hope this helps. It did work for the splitted xml's. Thanks Praveen -- View this message in context: http://camel.465427.n5.n

Camel Quartz questions, probably simple

2015-09-23 Thread ZephroC
Hi, I'm trying to evaluate whether Camel Quartz meets our requirements so this may be an obvious question. So my aim is to have Camel Quartz read the job schedule from the JobStore, in a cluster. Then have a web client write the schedules/triggers to the JobStore. So have the creation of Jobs d

Re: Spring DSL + Camel + Ehcache help required

2015-09-23 Thread Sudhil
please follow below for cache: http://sudhilmishra.blogspot.in/ - Thanks & Regards, Sudhil Mishra. -- View this message in context: http://camel.465427.n5.nabble.com/Spring-DSL-Camel-Ehcache-help-required-tp5771836p5771853.html Sent from the Camel - Users mailing list archive at Nabble.com

Re: Spring DSL + Camel + Ehcache help required

2015-09-23 Thread rakesh.shelar
Thanks Sudhil for your reply seems useful to start with but can you send me complete example xml context with example of one configuration required for Spring DSL + Camel + Ehcache OR modifying my file below given showing how that will look like when I add ehcahce in route and relative configurati

Spring DSL + Camel + Ehcache help required

2015-09-23 Thread rakesh.shelar
online 1 post Hi, I am new to Camel as developer. I am seeking for help to implement cache in my application using Spring DSL + Camel + Ehcache. If someone already having experience on this please help me with sample application context XML which uses Camel + Spring DSL + Ehcache. Good if

Failed to configure Endpoint in camel-config.xml

2015-09-23 Thread marchy
Hi, I'm a new to Camel, and i have encountered an error when configure the endpoint in camel-config.xml. Appreciate is anyone can help me, thank. Details as below: I am using RouteBuilder to build the routes in Java code previously, the routes start from a cxf service which defined by cxf:/serv