Re: JDBC Producer with auto generated keys and named parameters

2014-04-21 Thread Claus Ibsen
Hi Yeah we love contributions, read here http://camel.apache.org/contributing So you are welcome to log a JIRA ticket and work on a patch to implement this. On Mon, Apr 21, 2014 at 12:45 AM, Pascal Klink wrote: > Hi everyone, > > I have a question regarding the JDBC producer: Why is the retri

Reading a File Using camel is not working with relative path

2014-04-21 Thread sbalabadra
Hi Team, In our project we are using camel file component to read the files. We have created spring mvc project. Under resource folder, i have created metamodel/grids folder. In this folder i have pasted all my files. below is the camel endpoint configuration. Here MetaModelScreenEndPointURI=

Re: Reply received for unknown correlationID [xxxx]

2014-04-21 Thread amshf
I need your help...!!! -- View this message in context: http://camel.465427.n5.nabble.com/Reply-received-for-unknown-correlationID--tp5746277p5750396.html Sent from the Camel - Users mailing list archive at Nabble.com.

[Camel-Cxf] Camel Exchange not returned when SocketTimeoutException happens

2014-04-21 Thread Aida
Hi, I'm working with the cxf component in order to consume from JAX-WS services, and everything works like a charm, but I'm having trouble when a SocketTimeoutException happens. In this case, I have no Camel Exchange coming back from the endpoint. Example: from(startEndpoint)

Camel for XML data

2014-04-21 Thread anujkhandelwal
I have a use case where I want to read an XML document from a flat file and select XML element of interest using XPath accordingly output to a JMS destination. Can I use Camel for this use case ? Thanks, Anuj -- View this message in context: http://camel.465427.n5.nabble.com/Camel-for-X

Re: Camel for XML data

2014-04-21 Thread Larry Meadors
Yes. On Mon, Apr 21, 2014 at 7:29 AM, anujkhandelwal wrote: > I have a use case where I want to read an XML document from a flat file and > select XML element of interest using XPath accordingly output to a JMS > destination. > > > Can I use Camel for this use case ? > > > Thanks, > Anuj > > > >

AW: Camel for XML data

2014-04-21 Thread jhm
> I have a use case where I want to read an XML document from a flat file > and select XML element of interest using XPath accordingly output to a > JMS destination. > > > Can I use Camel for this use case ? Yes. :) Ok, some more words Written from mind without the manual, so have a look

Basic direct-vm scenario produces error

2014-04-21 Thread John Dubchak
Hi, I am trying to route a JMS message using an xpath expression. The expression and message conversion seem to work fine but I am getting an error that one of the direct-vm endpoints are not found. Here is the structure of the router: DataFormat jaxb = new JaxbDataFormat(...); from(getInbo

Re: Basic direct-vm scenario produces error

2014-04-21 Thread Raul Kripalani
Check the endpoint URIs on the producer and consumer side. There seems to be a mismatch - perhaps it's a copy paste error? On 22 Apr 2014 00:50, "John Dubchak" wrote: > Hi, > > I am trying to route a JMS message using an xpath expression. The > expression and message conversion seem to work fine

Re: Basic direct-vm scenario produces error

2014-04-21 Thread Willem Jiang
You need to start the direct-vm consumer before starting the direct-vm producer. Camel route startupOrder[1] can help you to do that. [1]https://camel.apache.org/configuring-route-startup-ordering-and-autostartup.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://wille

Re: [Camel-Cxf] Camel Exchange not returned when SocketTimeoutException happens

2014-04-21 Thread Willem Jiang
I just wrote a simple test[1] in camel trunk(camel-2.14-SNAPSHOT) to reproduce the error. But I cannot reproduce the error. Can you try to use last released camel-2.13.0 for verification? [1]https://git-wip-us.apache.org/repos/asf?p=camel.git;a=commit;h=fdc3b321 -- Willem Jiang Red Hat, Inc.

URI encoding is giving me problems

2014-04-21 Thread Stephen Cameron
Hi, I have a plus (+) symbol in a parameter value that is being converted to a space. When I encode this as %2B it still ends up as a space in the parameter value. In fact, both %20 and %2B end up giving me spaces in the parameter value. The following shows the issue DefaultCamelContext context

Re: URI encoding is giving me problems

2014-04-21 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/how-do-i-configure-password-options-on-camel-endpoints-without-the-value-being-encoded.html On Tue, Apr 22, 2014 at 6:17 AM, Stephen Cameron wrote: > Hi, > > I have a plus (+) symbol in a parameter value that is being converted to a > space. When I encode

Re: Reading a File Using camel is not working with relative path

2014-04-21 Thread Claus Ibsen
Hi Is metamodel/gris a directory in the classpath? The file component is not for reading resources in the classpath. The file path should be a system file path, that java.io.File would be able to read. On Mon, Apr 21, 2014 at 2:26 PM, sbalabadra wrote: > Hi Team, > > In our project we are using

Re: JDBC Producer with auto generated keys and named parameters

2014-04-21 Thread Grzegorz Grzybek
Hello Pascal - I recently added this for camel-sql component (see https://issues.apache.org/jira/browse/CAMEL-7313). If you create JIRA ticked w/ patch, I could look at this. regards Grzegorz Grzybek 2014-04-21 0:45 GMT+02:00 Pascal Klink : > Hi everyone, > > I have a question regarding the JDB

HA of Camel

2014-04-21 Thread vinod
Hi All, Please help me on the below scenarios: What are the possible ways to scale up camel as active-active mode with Active-MQ clustered(Maser Slave). ( I have 2 camel boxes with failover active mq(master-slave configuration). I tried with 2 active-active camel boxes and single acive-mq, w