Re: Camel-cxf rs client bean

2014-04-01 Thread Charlie Mordant
Hi, I don't know if it will help, but I've a sample using http component to consume an RS endpoint. https://github.com/OsgiliathEnterprise/net.osgiliath.parent/blob/master/net.osgiliath.samples/net.osgiliath.hello/net.osgiliath.hello.routes/src/main/java/net/osgiliath/hello/routes/HelloRoute.java

Re: whenAnyExchangeReceived is never called

2014-04-01 Thread Olaf
It was only for demonstration. As I said above, template was sent to early. That was the problem -- View this message in context: http://camel.465427.n5.nabble.com/whenAnyExchangeReceived-is-never-called-tp5749491p5749606.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel CDI: handling configadmin properties

2014-04-01 Thread Charlie Mordant
Hi, I did a little module to handle configadmin admin with CDI (then using it with a camel-cdi route). Feel free to use/comment, integrate (if you want, I can try to). The module:

Re: Howto delete file from FTP-Endpoint direct

2014-04-01 Thread eddi
I find a Way for send direct File Opperations to the FTP Endpoint. from(jetty:http://localhost:/action/delete;) .process(new Processor() { @Override public void process(Exchange exchange) throws Exception { RemoteFileEndpoint?

Re: add SAML TOKEN to SOAP header

2014-04-01 Thread Colm O hEigeartaigh
Here's an example of a CallbackHandler that shows how to set a SAML token on the SAMLCallback Object: https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob_plain;f=systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/client/SamlElementCallbackHandler.java;hb=refs/heads/2.7.x-fixes

Which EPI to use?

2014-04-01 Thread Olaf
Hello, I have an input message which containts id of a FilesObject and urls of files to be downloaded for this object: {filesObjectId:1, file1:url, customFiles: [{id:1,name:Foo}, {id:2, name:Bar}]} The task is to load Files object by id and download only new files if they not exists in

Multiple Try-catch -Exception-Handling using spring DSL facing issues

2014-04-01 Thread venkatesh.avula
Hi , I am trying to execute an example for Multiple try catch handler . Please find below my camel route spring dsl congiguration .

Using quartz2 on a oracle cluster

2014-04-01 Thread alder
Hi there, I was building up an camel based application using the quartz2 component, which is running on a Websphere-cluster using a oracle db as jobstore. Things are fine as long my application is not stopped on one server, when I do so, the status of my app is set to paused though the other

Re: Multiple Try-catch -Exception-Handling using spring DSL facing issues

2014-04-01 Thread Claus Ibsen
Hi See the doTry .. doCatch examples http://camel.apache.org/try-catch-finally.html your code is a bit wrong. On Tue, Apr 1, 2014 at 3:05 PM, venkatesh.avula venky.av...@gmail.com wrote: Hi , I am trying to execute an example for Multiple try catch handler . Please find below my camel route

Re: EXT :Re: Multiple Try-catch -Exception-Handling using spring DSL facing issues

2014-04-01 Thread Urciolo, Kevin J (IS)
- Original Message - From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Tuesday, April 01, 2014 09:14 AM To: users@camel.apache.org users@camel.apache.org Subject: EXT :Re: Multiple Try-catch -Exception-Handling using spring DSL facing issues Hi See the doTry .. doCatch examples

EXT :Re: Multiple Try-catch -Exception-Handling using spring DSL facing issues

2014-04-01 Thread Urciolo, Kevin J (IS)
BEGIN:VCALENDAR METHOD:REQUEST PRODID:Microsoft Exchange Server 2010 VERSION:2.0 BEGIN:VTIMEZONE TZID:Eastern Standard Time BEGIN:STANDARD DTSTART:16010101T02 TZOFFSETFROM:-0400 TZOFFSETTO:-0500 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11 END:STANDARD BEGIN:DAYLIGHT

Canceled: EXT :Re: Multiple Try-catch -Exception-Handling using spring DSL facing issues

2014-04-01 Thread Urciolo, Kevin J (IS)
BEGIN:VCALENDAR METHOD:CANCEL PRODID:Microsoft Exchange Server 2010 VERSION:2.0 BEGIN:VTIMEZONE TZID:Eastern Standard Time BEGIN:STANDARD DTSTART:16010101T02 TZOFFSETFROM:-0400 TZOFFSETTO:-0500 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11 END:STANDARD BEGIN:DAYLIGHT

Re: Camel routing based on an xpath value in an XML message.

2014-04-01 Thread mtod09
I'm having a problem getting the value from the Dest Element and using it in the recipient list. I don't get any errors but the message does not show up in the topics. I'm using an input queue activemq:queue:queue.ESB.incoming then it should route to 2 topics based on the Dest values. XML

Re: Howto delete file from FTP-Endpoint direct

2014-04-01 Thread Reji Mathews
If you are trying to delete a file after consuming from a ftp server using ftp camel component, then put the option delete=true while configuring the ftp consumer end point. Make sure the ftp credentials u are using has rights to perform delete operations . Cheers Reji On 01/04/2014 3:01 pm,

Re: Using quartz2 on a oracle cluster

2014-04-01 Thread Willem Jiang
Hi, I will take a look at this issue when I get some time tomorrow. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On April 1, 2014 at 9:09:20 PM, alder

Aw: Re: Camel XSLT Param - Issue ( Body is null )

2014-04-01 Thread Pascal Klink
Hi Guru, I don't know if I get the problem right but you can set parameters on xsl processing through headers. Sou you can do: from .../ ... setHeader name=myParameter.../setHeader to uri=xslt:.../ Then in the xsl file you can do: xsl:param name=myParameter/ And then you can reference it

Looking for ideas to reduce code volume and duplication

2014-04-01 Thread kraythe .
Greetings: I have dozens of routes currently in our system and they have one of two variants of the following code: .onException(Exception.class).useOriginalMessage().handled(true) // catch exceptions .setHeader(Exchange.FAILURE_ROUTE_ID, property(Exchange.FAILURE_ROUTE_ID)) // set route

Re: Camel-cxf rs client bean

2014-04-01 Thread ravi.4indra
Hi, This is how my route looks like from(direct:start).routeId(start) .bean(Processor1.class, prepareRequestMessage) .to(cxfrs:bean:rsClient?synchronous=true) .bean(Processor1.class, processResponseMessage) prepareRequestMessage

Re: Camel-cxf rs client bean

2014-04-01 Thread ravi.4indra
Hi, This is how my route looks like from(direct:start).routeId(start) .bean(Processor1.class, prepareRequestMessage) .to(cxfrs:bean:rsClient?synchronous=true) .bean(Processor1.class, processResponseMessage)

Re: Camel routing based on an xpath value in an XML message.

2014-04-01 Thread mtod09
Thanks for the update. I'm still have issues updating the header. camelContext id=TRFTrackingRoute xmlns=http://camel.apache.org/schema/spring; route from uri=activemq:queue:queue.ESB.incoming/ setHeader

Installation

2014-04-01 Thread ddemland
I am new to Camel and I am having a hard time understanding how to install it. I am trying to test on an Ubuntu 13.1 server and I am not sure, do I have to have Apache installed first, then Camel or what? Is there a web page that will show me how to install from the beginning? Thank You for any

Re: Camel routing based on an xpath value in an XML message.

2014-04-01 Thread mtod09
I was able to get this to work using the following: ActiveMQ XMl: camelContext id=TRFTrackingRoute xmlns=http://camel.apache.org/schema/spring; route from uri=activemq:queue:queue.ESB.incoming/ setHeader headerName=Route1

Re: Installation

2014-04-01 Thread Claus Ibsen
Hi Camel is not a server you install. Its a Java library (or framework if you will). So you use some other kind of server to host your applications which can in turn can use Camel. For example you can use Apache Tomcat as a web container and deploy web apps in Tomcat and these web apps can use

Re: Looking for ideas to reduce code volume and duplication

2014-04-01 Thread Richard Kettelerij
Although I usually favor composition of inheritance I've had pretty good results with putting code like this in a base class. E.g: class QoSRouteBuilder extends RouteBuilder { public void configureQoS() { // your onException() code ... } } class RouteA extends QoSRouteBuilder

Body Max Size in a Request using Camel CXFRS Component

2014-04-01 Thread higorcoliveira
Hi! I'm using Camel and my routes are deployed in JBOSS FUSE 6.0.0. I'm using CXFRS component to receive requests and start my route. When I receive a request containing a XML in body with about 20k lines, my route is started without problem. But when I send a request with, for example, 30k

Re: Aw: Re: Camel XSLT Param - Issue ( Body is null )

2014-04-01 Thread Gnanaguru S
Thanks Guys, @Pascal, Thats the idea. but my question is I dont want to send any payload to the exchange. But just the parameter value. I am able to set the parameter value using the setHeader, but XSLT expects a body too. ( Refer my route with timer endpoint above ). When I add a dummy body

Re: Installation

2014-04-01 Thread Gnanaguru S
Yes. Otherwise, you should be able to see many examples in the camel home directory. In that some examples can run standalone without any container. for an instance, refer this link https://github.com/apache/camel/tree/master/examples/camel-example-tracer Eitherways you should have Maven

How to enrich with recipient list?

2014-04-01 Thread a746076drdrb
Hello, I try to use dynamic endpoint uri with recipientList and then combine old body with the new one, to enrich the message However in AggregationStrategy.aggregate method the oldExchange is null. I suppose recipientList clears the old body. Is there a way to combine two exchanges after

Re: How to enrich with recipient list?

2014-04-01 Thread Willem Jiang
It looks like your recipientList just has one url, and it makes sense that the old exchange is null. Please add more endpoint url into the recipientList, you should be able to see the old exchange which is not null. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: