Re: CXF Policy cannot be satisfied

2012-08-20 Thread Willem jiang
Hi, It is more like CXF issue than an Camel issue. It looks like there are some WS policy relate issue in you application. Did you double check the WSDL and cxfEndpoint related configuration ? Did you have chance to invoke the service by using normal CXF client ? -- Willem Jiang FuseSource We

Re: Content Based Router Query

2012-08-20 Thread Claus Ibsen
On Mon, Aug 20, 2012 at 7:01 PM, Taariq Levack wrote: > Hi > > Yes, the CBR is rightly based on content, I think you want the recipient list > [1]. > > [1] http://camel.apache.org/recipient-list.html > Yes that is a good EIP. There is also some of the dynamic ones like dynamic router, routing sl

Re: File Component: Rename an existing file

2012-08-20 Thread Claus Ibsen
On Mon, Aug 20, 2012 at 7:39 PM, santoshjoshi wrote: > Hi Claus, > > I made some changes to existing API (camel 2.8.7), as well as created some > test cases for this feature. > I want to contribute this to Apache Camel, It would be great if Apache Camel > Team reviews the changes and provide valua

Re: File Component: Rename an existing file

2012-08-20 Thread santoshjoshi
Thanks Christian, The patch has been attached to Jira https://issues.apache.org/jira/browse/CAMEL-5521 https://issues.apache.org/jira/browse/CAMEL-5521 Regards Santosh -- View this message in context: http://camel.465427.n5.nabble.com/File-Component-Rename-an-existing-file-tp5716075p5717736

Re: Unable to deploy a camel route in websphere application server 8.5

2012-08-20 Thread Willem jiang
It looks you didn't install the the camel-blueprint bundle rightly? Can you double check it ? -- Willem Jiang FuseSource Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.co

Re: Content Based Router Query

2012-08-20 Thread Willem jiang
Yeah, you can call the external API in a processor to setup the headers which could be use by the recipient-list to implement the CBR. -- Willem Jiang FuseSource Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)

CXF Policy cannot be satisfied

2012-08-20 Thread pberkman
sorry for the newbie question, i'm getting the following from a basic producer using CXF within Camel... any hints would be greatly appreciated! org.apache.cxf.interceptor.Fault: None of the policy alternatives can be satisfied. at org.apache.cxf.ws.policy.AbstractPolicyInterceptor.hand

Re: Passing arguments to a customer splitter

2012-08-20 Thread Christian Müller
You can set this as exchange property or message header befor you split the message. Than you have access to this information in your custom splitter... Best, Christian Sent from a mobile device Am 20.08.2012 16:58 schrieb "Murari Raghavan" : > Hello: > > Is there a way to pass arguments to a cu

Re: File Component: Rename an existing file

2012-08-20 Thread Christian Müller
Could you attach it as diff to the JIRA issue Claus created? And don't forget to grant the license to Apache... Best, Christian Sent from a mobile device Am 20.08.2012 19:40 schrieb "santoshjoshi" : > Hi Claus, > > I made some changes to existing API (camel 2.8.7), as well as created some > test

Re: Dzone Refcard

2012-08-20 Thread Christian Müller
I think this is a good choice. Best, Chrostian Sent from a mobile device Am 20.08.2012 22:16 schrieb "ceposta" : > suppose i could have asked this before i started… but i'm almost done with > a > dzone refcard for most-used camel components and their configs. I wanted to > limit it to 6 componen

Dzone Refcard

2012-08-20 Thread ceposta
suppose i could have asked this before i started… but i'm almost done with a dzone refcard for most-used camel components and their configs. I wanted to limit it to 6 components, and I chose: JMS/ActiveMQ CXF HTTP4/Jetty Direct/Seda Mock/Test Any comments? Are there any glaring ones that should h

Re: File Component: Rename an existing file

2012-08-20 Thread santoshjoshi
Hi Claus, I made some changes to existing API (camel 2.8.7), as well as created some test cases for this feature. I want to contribute this to Apache Camel, It would be great if Apache Camel Team reviews the changes and provide valuable feedback/comments. could you please tell where and how shoul

Re: Content Based Router Query

2012-08-20 Thread Taariq Levack
Hi Yes, the CBR is rightly based on content, I think you want the recipient list [1]. [1] http://camel.apache.org/recipient-list.html Taariq On 20 Aug 2012, at 18:09, gilboy wrote: > Hi > > The content based router does not appear to support the routing of a message > to a particular destin

Content Based Router Query

2012-08-20 Thread gilboy
Hi The content based router does not appear to support the routing of a message to a particular destination based on a call to an external API. The examples I have looked at appear to support the routing of messages to a destination based on the message content. In a nutshell, I want to use a Con

Unable to deploy a camel route in websphere application server 8.5

2012-08-20 Thread Sriraman Gopalan
Dear All, Today, I tried to deploy a simple route in Websphere Application Server 8.5 as an Asset (.eba file). However, while deploying the asset, I got the following error: org.apache.aries.application.modelling.ModellerException: CWSAL0126E: An exception occurred while modelling bundle ib-base

Passing arguments to a customer splitter

2012-08-20 Thread Murari Raghavan
Hello: Is there a way to pass arguments to a custom splitter? For eg - Route Builder calls a custom splitter - DDSResponseSplitService.splitStatusResponse() from(routesprops.getString(Constants.INBOUND)) .split().method(DDSResponseSplitService.class, "splitStatusResponse") .process(new

Losing Messages in SEDA endpoint with polling consumer

2012-08-20 Thread SimonH
I'm using Camel 2.8.5, and am finding that messages sent to SEDA endpoints that have polling consumers are sometimes lost - when sending more than 1000 messages. My example scenario is shown below. I have a timer endpoint to kick off my experiment. The route then proceeds as follows: - Generate

Re: Creating endpoint uri dynamically

2012-08-20 Thread raheem
Thanks for the hint Claus! I constructed the endpoint uri before sending the message to the queue in the header and then using the recipientList(header("header name"). Thanks again, Raheem On Mon, Aug 20, 2012 at 2:10 AM, Claus Ibsen-2 [via Camel] < ml-node+s465427n5717679...@n5.nabble.com> wrot

Re: File Component: Rename an existing file

2012-08-20 Thread Claus Ibsen
Hi I logged a ticket to get such a feature into Camel https://issues.apache.org/jira/browse/CAMEL-5521 On Mon, Jul 16, 2012 at 9:36 PM, Claus Ibsen wrote: > Hi > > I actually don't think this would be possible. I don't recall we have > a hook to allow a custom plugin on the producer side, to eg

Re: JSON - Jackson return list rather than POJO

2012-08-20 Thread Jason Chaffee
I asked this same question before and this the example and answer I got about using a Map with Jackson. I did not test it to confirm that it works correctly though. On Aug 20, 2012, at 1:08 AM, Claus Ibsen mailto:claus.ib...@gmail.com>> wrote: Hi Maybe we could improve the cam

Re: Intercept processor/bean

2012-08-20 Thread Christian Müller
Yeah, I also favor to use to("bean://myBean?method=foo") which you can intercept... Best, Christian On Mon, Aug 20, 2012 at 8:11 AM, Claus Ibsen wrote: > On Fri, Aug 17, 2012 at 10:17 PM, Łukasz Dywicki > wrote: > > Hey all, > > Is there a way to intercept custom processor execution? > > > >

Re: onCompletion with onWhen predicate

2012-08-20 Thread Claus Ibsen
Hi What version of Camel are you using? On Wed, Aug 15, 2012 at 5:01 PM, Hilde wrote: > Hello folks! > > I have figured out that onCompletion().onWhen() cannot be used multiple. > > Actually onCompletion().onWhen() suggests to use it multiple erroneously. > I wrote the following route: > > from(

Re: JSON - Jackson return list rather than POJO

2012-08-20 Thread Claus Ibsen
Hi Maybe we could improve the camel-jackson to support list/map types as responses more easily? I just wonder what a good solution would be? Either the user would need to explicit configure this on the data format? Or we can look into a fallback type converter, so Camel automatic an convert to a

Re: Aggregator not propagating exception back in camel version 1.6.2

2012-08-20 Thread Neeraj Mahajan
Thanks Claus Now I think i have to use some thing else intead of aggregator as i cant upgrate the version. Thanks for your valuable support and time. Neeraj Mahajan -- View this message in context: http://camel.465427.n5.nabble.com/Aggregator-not-propagating-exception-back-in-camel-version-1-

Re: Aggregator not propagating exception back in camel version 1.6.2

2012-08-20 Thread Claus Ibsen
On Mon, Aug 20, 2012 at 9:29 AM, Neeraj Mahajan wrote: > I have intentionally disabled the error handlling, As I *required the message > to be redelivered* in case of any exception/error in any route. I have > applied transaction policy in my root route(not shown here in the above code > sniphet)

Re: Aggregator not propagating exception back in camel version 1.6.2

2012-08-20 Thread Neeraj Mahajan
I have intentionally disabled the error handlling, As I *required the message to be redelivered* in case of any exception/error in any route. I have applied transaction policy in my root route(not shown here in the above code sniphet) from where this splitter and aggregator gets called. Thanks Nee

Re: aggregator aggregation completion

2012-08-20 Thread Claus Ibsen
On Fri, Aug 17, 2012 at 5:51 AM, javakurious wrote: > I am looking for some tips to correctly use Aggregator component. > > The scenario is that I am getting a request in xml format, and I process > that request and get a response in XML format as well. But the request and > response are two compl

Re: Aggregator not propagating exception back in camel version 1.6.2

2012-08-20 Thread Claus Ibsen
On Mon, Aug 20, 2012 at 8:44 AM, Neeraj Mahajan wrote: > Once aggregated result(exchange) is commited, the control does not come back > to the aggregation strategy. And also I dont want to handle the exception, I > need it to be progagated back from the aggregator component. > You have disabled e