Re: Turning CamelContexts into black boxes for reuse and composition (was Re: Abstracting Routes using Components

2011-02-28 Thread James Strachan
On 11 February 2011 09:50, James Strachan wrote: > On 10 February 2011 20:13, Ashwin Karpe wrote: >> >> Hi James, >> >> I like the approach. It certainly replaces the need to have a Strategy and >> eliminates the need to inject a context into a component. > > Thanks! > > Am sure there's uses for

Re: Proper method of looking up osgi service from camel component

2011-02-28 Thread unmarshall
Hi Willem, I am not sure what you mean by wrap the component with java code. Let us say the client creates a camel route like below: .. // all custom configuration elements go here Now i define tags in another beans XML and then ask the user to just import th

Re: camel:recipientList with ignoreInvalidEndpoints="true"

2011-02-28 Thread Claus Ibsen
Hi No that's not possible. I have created a ticket https://issues.apache.org/jira/browse/CAMEL-3731 And lowered the logging from INFO to DEBUG. On Mon, Feb 28, 2011 at 11:18 PM, JacobS wrote: > Hi I am using camel:recipientList with ignoreInvalidEndpoints="true" > >        ignoreInvalidEndpo

Re: Does Camel-Mina work with version 2 of Apache Mina

2011-02-28 Thread Claus Ibsen
Hi camel-mina uses Mina 1.x. There is a JIRA ticket for upgrading it to use the new Mina 2.0.x. And someone is looking into it. So in a future Camel release camel-mina would depend on Mina 2.x. On Mon, Feb 28, 2011 at 7:35 PM, gsilverman wrote: > Use of the camel-mina  v 2.6.0 dependency in a

Re: Using a camel-cxf producer and want switch between http and https without new deployments

2011-02-28 Thread Claus Ibsen
Hi Christian Do you mind creating a FAQ entry for this? http://camel.apache.org/faq Instead of a FAQ maybe add some notes to the CXF page. If you think that's the best place. On Mon, Feb 28, 2011 at 8:28 PM, Christian Mueller wrote: > Hello Ade! > > Thank you for let us know this. Then it work

camel:recipientList with ignoreInvalidEndpoints="true"

2011-02-28 Thread JacobS
Hi I am using camel:recipientList with ignoreInvalidEndpoints="true" HEADERNAME but I am getting NoSuchEndpointException exception with "This exception will be ignored". Is there any way that I can disable this exception from showing in my log ? Thanks Jacob -- View this message in c

Re: Issue with route specific onException and jms component

2011-02-28 Thread rkrdr
Yes I think there is a bug related catching exceptions that are thrown by the jms producer. As well, I noticed a side effect in camel 2.5.0 directly related to the asynchronous routing engine is that exceptions thrown (i.e. not specifically set on the exchange) in an aggregator aggregating request

Re: Turning CamelContexts into black boxes for reuse and composition (was Re: Abstracting Routes using Components

2011-02-28 Thread James Strachan
On 14 February 2011 03:49, Willem Jiang wrote: > On 2/11/11 5:50 PM, James Strachan wrote: >> >> On 10 February 2011 20:13, Ashwin Karpe  wrote: >>> >>> Hi James, >>> >>> I like the approach. It certainly replaces the need to have a Strategy >>> and >>> eliminates the need to inject a context into

Re: Using a camel-cxf producer and want switch between http and https without new deployments

2011-02-28 Thread Christian Mueller
Hello Ade! Thank you for let us know this. Then it works for us without any modification. Cool... Thanks, Christian -- View this message in context: http://camel.465427.n5.nabble.com/Using-a-camel-cxf-producer-and-want-switch-between-http-and-https-without-new-deployments-tp3403048p3403845.htm

Re: Using a camel-cxf producer and want switch between http and https without new deployments

2011-02-28 Thread Adrian Trenaman
Hi Christian, I've used this workaround (i.e. paramaterizing the protocol to either 'http' or 'https') before and it worked fine for me too. Haven't looked at the underlying code, but it I imagine it works as you suggest. Best, Ade - Original Message - From: Christian Mueller [mailto

Re: Using a camel-cxf producer and want switch between http and https without new deployments

2011-02-28 Thread Christian Mueller
Thank you for your quick reply Willem, but I think I didn't catch it. Extracting the http:conduit configuration doesn't make it easier to decide at runtime whether or not the http:conduit should be applied or not. However, we made a test using the HTTP protocoll instead of HTTPS and it works (incl

Does Camel-Mina work with version 2 of Apache Mina

2011-02-28 Thread gsilverman
Use of the camel-mina v 2.6.0 dependency in a Maven pom downloads mina-core.1.1.7. Does this mean I can use camel-mina with v 2 of Apache Mina. Is there a new version of camel-mina that depends on Mina 2? -- View this message in context: http://camel.465427.n5.nabble.com/Does-Camel-Mina-work-wi

RE: File consumer to CXF issues

2011-02-28 Thread Scott Came
That's terrific, thanks, I will check it out... --Scott -Original Message- From: Willem Jiang [mailto:willem.ji...@gmail.com] Sent: Sunday, February 27, 2011 6:46 PM To: users@camel.apache.org Subject: Re: File consumer to CXF issues Hi Scott, We just added a CXFPayloadConverter[1][2]

Re: Modifying an Exchange inside a @RoutingSlip Bean

2011-02-28 Thread Yiannis Mavroukakis
The other thing I am not aware of, is whether I am receiving a copy of the Exchange, or the actual Exchange itself, does anyone which is the case? If I am receiving a copy, is there some mechanism that will allow me to insert arbitrary attributes in it, or is this simply not possible? Thanks, Ioa

Re: Proper method of looking up osgi service from camel component

2011-02-28 Thread Willem Jiang
Hi Madhav, If you don't want your client to know about how to inject the osgi services, it's a best way to wrap the component with Java code. Willem On 2/28/11 6:15 PM, unmarshall wrote: Hi Willem, Thanks for your response. I am aware of this approach as Cxf follows the same approach. The p

Re: Using a camel-cxf producer and want switch between http and https without new deployments

2011-02-28 Thread Willem Jiang
Here is a solution that come across my mind. You can put the below http conduit configure into a file, and use spring property to import this configuration. Willem On 2/28/11 6:26 PM, Christian Mueller wrote: Hello List! In our Camel routes (Camel 2.2.0-fuse-02-00 and CXF 2.2.9-fuse-01-00),

Re: Get updated entries from a DataBase

2011-02-28 Thread Claus Ibsen
Hi You can code the SQL logic in a java bean, and then use the @Produce or ProducerTemplate to easily send the message to a Camel route for further processing. Then you can use another Camel route with a timer to schedule invoking your bean at X given interval. On Fri, Feb 25, 2011 at 11:02 P

Re: Router logic

2011-02-28 Thread Christian Müller
We are using the content enricher EIP pattern [1] in conjunction with the enrich DSL element/method. [1] http://camel.apache.org/content-enricher.html Christian

Using a camel-cxf producer and want switch between http and https without new deployments

2011-02-28 Thread Christian Mueller
Hello List! In our Camel routes (Camel 2.2.0-fuse-02-00 and CXF 2.2.9-fuse-01-00), deployed into Servicemix (4.2.0-fuse-02-00), we are using camel-cxf as producer to call external web services. For security reasons, we are using an HTTPS connection to the web service provider, using the following

Re: Proper method of looking up osgi service from camel component

2011-02-28 Thread unmarshall
Hi Willem, Thanks for your response. I am aware of this approach as Cxf follows the same approach. The problem is that i have defined a custom XML extension representing the component the same way Cxf does () Now I can have a XML which will have just this osgi:reference and ask the user to includ