Re: [camel-bindy] bindy ignore bean class type

2013-01-14 Thread lb
Hi, if you give me some hint I may start working on it (not sure to have enough skill but I may try). thx -- View this message in context: http://camel.465427.n5.nabble.com/camel-bindy-bindy-ignore-bean-class-type-tp5725275p5725566.html Sent from the Camel - Users mailing list archive at Nabb

Re: Starting a camel project

2013-01-14 Thread Claus Ibsen
Hi See also this FAQ, and the links on that page http://camel.apache.org/running-camel-standalone.html On Mon, Jan 14, 2013 at 1:55 PM, Marco Westermann wrote: > Hi, > > what is the correct way to run a camel project which was generated by the > camel-java archtype in productive. In general I

Re: Camel Spring XML

2013-01-14 Thread Claus Ibsen
On Tue, Jan 15, 2013 at 7:55 AM, Manoj Kolhe wrote: > Hi Claus, > > Thanks, I referred to the example stated on the link you have provided. > > Apologies to ask you a very basic question in this case: > > > > > > name > > > Hello ${header.name} how are yo

Re: Properties are not resolved inside of choice

2013-01-14 Thread Claus Ibsen
On Tue, Jan 15, 2013 at 7:58 AM, Claus Ibsen wrote: > On Mon, Jan 14, 2013 at 8:11 AM, leroykendall wrote: >> Hi, >> >> I'm using Camel 2.10.0. > > I think we have fixed this since that release. Try with latest 2.10.x > release. Or the SNAPSHOT. > And if you stay on 2.10.0, you can use instead

Re: Properties are not resolved inside of choice

2013-01-14 Thread Claus Ibsen
On Mon, Jan 14, 2013 at 8:11 AM, leroykendall wrote: > Hi, > > I'm using Camel 2.10.0. I think we have fixed this since that release. Try with latest 2.10.x release. Or the SNAPSHOT. > In Spring context configuration I have an issue with properties resolution > {{...}} when they are inside of

Re: Camel Spring XML

2013-01-14 Thread Manoj Kolhe
Hi Claus, Thanks, I referred to the example stated on the link you have provided. Apologies to ask you a very basic question in this case: name Hello ${header.name} how are you? In above 'choice when' code, h

Properties are not resolved inside of choice

2013-01-14 Thread leroykendall
Hi, I'm using Camel 2.10.0. In Spring context configuration I have an issue with properties resolution {{...}} when they are inside of tag. Resolution of the property "throttle.requests.per.second" does NOT work for: ${in.bod

Re: NoClassDefFoundError : javax.xml.namespace.QName CXF SOAP Consumer

2013-01-14 Thread emeka_kanu
Not sure if this is still a problem for anyone. However, I solved this by using the following in the pom. javax.xml.namespace, -- View this message in context: http://camel.465427.n5.nabble.com/NoClassDefFoundError-javax-xml-namespace-QName-CXF-SOAP-Consumer-tp4685413p572554

Help on unsubscribing

2013-01-14 Thread Ramkumar.Iyer
I have tried to unsuccessfully unsubscribe from Camel mailing list by mailing dev-unsubscr...@camel.apache.org and corresponding email ids but not getting unsubscribed ? Can some one please enlighten as to how to unsubscribe ? Regards Ram Enterprise Arc

RE: Multiple Endpoint URLs defined at one component

2013-01-14 Thread liugang
Hi Christian: I'm not sure it's the same meaning: one is a single string; one is multiple strings. But anyway, thanks for your response. Thanks. GangLiu -Original Message- From: Christian Müller [mailto:christian.muel...@gmail.com] Sent: Tuesday, January 15, 2013 6:13 AM To: users@came

Re: Multiple Endpoint URLs defined at one component

2013-01-14 Thread Christian Müller
Why you didn't try it out? It's so simple: import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.junit4.CamelTestSupport; import org.junit.Test; public class CamelMultipleEndpointsTest extends CamelTestSupport { @Test

Re: Retrieve failed Route from deadLetterChannel ?

2013-01-14 Thread Christian Müller
I went ahead and added the dates we have in mind to JIRA [1]. The dates are not committed. It's what we plan to achieve... [1] https://issues.apache.org/jira/browse/CAMEL Best, Christian On Mon, Jan 14, 2013 at 10:32 AM, ncolomer wrote: > Hi Claus, > > I didn't found any information about 2.10

Re: ProducerTemplate Query

2013-01-14 Thread Christian Müller
Can you try: Exchange response = producerTemplate.request("seda:testSeda", MyProcessor()) Best, Christian On Mon, Jan 14, 2013 at 12:24 PM, gilboy wrote: > Hi > > Assume I use the producerTemplate to send an exchange to an endpoint(seda). > Sending messages to this endpoint triggers a camel rou

Re: Route Dependency in XML DSL

2013-01-14 Thread Maruan Sahyoun
sorry - I missed the XML prerequisite. would it be an option to connect route A to B using a direct endpoint e.g.: ${header.EventCategory} =='SessionLogon'

Re: Route Dependency in XML DSL

2013-01-14 Thread Łukasz Dywicki
Hey Gershaw, You have couple options here: 1) use specific route order to keep precedence. Camel starts routes from first to last 2) disable auto startup of routes by using autoStartup=false for route element 3) use initial delay for consumers to hang first poll of the resource - for JPA it will

RE: Route Dependency in XML DSL

2013-01-14 Thread Gershaw, Geoffrey
Thanks for responding. Unfortunately, this doesn't show any XML DSL example. Is it possible in XML? -Original Message- From: Maruan Sahyoun [mailto:sahy...@fileaffairs.de] Sent: Monday, January 14, 2013 1:49 PM To: users@camel.apache.org Subject: Re: Route Dependency in XML DSL Hi, the

Re: Route Dependency in XML DSL

2013-01-14 Thread Maruan Sahyoun
Hi, there is a sample how to stop a route from another one - can also be used for starting. https://camel.apache.org/how-can-i-stop-a-route-from-a-route.html Maruan Sahyoun Am 14.01.2013 um 18:59 schrieb "Gershaw, Geoffrey" : > Actually, > > I should clarify, I don't want route B to start b

RE: Route Dependency in XML DSL

2013-01-14 Thread Gershaw, Geoffrey
Actually, I should clarify, I don't want route B to start before route A is finished. If Route B starts before Route A exits, Route B will send msgs to quickfix before quickfix is finished logging in. Since Route B has a JPA component as the from endpoint, as soon as its started, it will start c

RE: Route Dependency in XML DSL

2013-01-14 Thread Gershaw, Geoffrey
Yes, route a to call route b. I don't think it can be using the direct component. I need the from of route b to use the jpa component. ${header.EventCategory} == 'Ses

Re: Route Dependency in XML DSL

2013-01-14 Thread Bilgin Ibryam
Hi Geoffrey, what do you mean by "route is finished" ? Do you want to call route B at the end of rotue A? Bilgin On 14 January 2013 14:58, Gershaw, Geoffrey wrote: > Geoffrey

Route Dependency in XML DSL

2013-01-14 Thread Gershaw, Geoffrey
Hello Camel Riders, I have a route that I would like to start once another route is finished. I know I could change the jpa component into a custom bean, but I want to do it the camel way J. I would essentially like to start Route B From A. IF they both start at the same time, the world may e

Re: Starting a camel project

2013-01-14 Thread Bilgin Ibryam
That's correct, and that's exactly the reason I mentioned shade plugin. Thanks Willem B. On 14 January 2013 13:35, Willem jiang wrote: > If you just build a big jar, you need to merge the META-INF files yourself, > otherwise you will hit some strange issue there.

Re: Starting a camel project

2013-01-14 Thread Willem jiang
Just a quick note, camel will lookup some files in the META-INF/ to pick the components, converters and data formats. If you just build a big jar, you need to merge the META-INF files yourself, otherwise you will hit some strange issue there. -- Willem Jiang Red Hat, Inc. FuseSource is now p

Re: Starting a camel project

2013-01-14 Thread Bilgin Ibryam
Hi Marco, To run your application as standalone, your application jar has to contain all the dependencies Then you need a class with main method to run your application. Also you need to specify this class in the manifest of the generated jar. One way to do it is by using the maven-assembly-pl

Re: How to build an outgoing tcp connection gateway that consumes messages?

2013-01-14 Thread Andrea Tarocchi
Sorry I missed the Claus Ibsen's post completely. On Mon, Jan 14, 2013 at 2:12 PM, ggalka wrote: > Hi Andrea, > you haven't understood me. > Using MINA uri in from() endpoint causes creation of TCP socket server. But > I need to work as tcp client in order to consume messages. This is not > sta

Re: How to build an outgoing tcp connection gateway that consumes messages?

2013-01-14 Thread ggalka
Hi Andrea, you haven't understood me. Using MINA uri in from() endpoint causes creation of TCP socket server. But I need to work as tcp client in order to consume messages. This is not standard use case, but some applications uses such mode. Please look at first post and response from Claus Ibsen-2

Starting a camel project

2013-01-14 Thread Marco Westermann
Hi, what is the correct way to run a camel project which was generated by the camel-java archtype in productive. In general I always deploy camel bundles to smx. But this time I want a standalone application without smx. Using java -jar xxx.jar I get an error that there is no main-class defin

IMAP: No content

2013-01-14 Thread DOLECEK Ales
Hello, I have problem with fetching from mailbox using IMAP. According the debug the message body is fetched, but I get IOException with message "No content". It works fine using POP3 (which we can't use in production). I'm not sure if the problem is in used IMAP implementation (default from

ProducerTemplate Query

2013-01-14 Thread gilboy
Hi Assume I use the producerTemplate to send an exchange to an endpoint(seda). Sending messages to this endpoint triggers a camel route which sends a message to a web service, e.g. Client code: Exchange response = producerTemplate.send("seda:testSeda" ExchangePattern.InOut,

Re: Retrieve failed Route from deadLetterChannel ?

2013-01-14 Thread ncolomer
Hi Claus, I didn't found any information about 2.10.4 release date? Is there any date planned? Best regards, Nicolas 2013/1/12 Nicolas Colomer > Hi Claus, > > Thank you for your answer and the quick fix! This is exactly what I needed > :) > > Best regards, > Nicolas > > > 2013/1/12 Claus Ibse

Multiple Endpoint URLs defined at one component

2013-01-14 Thread liugang
Hi All: I'd like to know it's there any Camel component which support to define multiple consumer(provider?) endpoint urls in it? For example: from("XXX:direct:a, direct:b, direct:c,jms:queue:a,...").to("..."); in this case, the "from" can handle the massage no matter it sends to "direct