Re: Using camel-jetty options in recipient List

2015-11-05 Thread Claus Ibsen
The camel-jetty component can do both being a server (consumer) and a client (producer). The options on that page is listed in 2 tables. Some options for the jetty component, and others for the endpoint. Its only the latter you can configure in the endpoint uri. So enableJmx is on the component o

Re: file 2 transform 2 http4 (httpd status 400)

2015-11-05 Thread Claus Ibsen
Status code 400 means the http server rejected your requests because something in it is bad / it cannot handle. Also its better yo use getIn() and set the body / header you want. See this FAQ http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html On Thu, Nov 5, 2015 at 5:51 PM, Pa

Re: jpa/hibernate casting exception

2015-11-05 Thread Claus Ibsen
Yeah sadly OSGi can be a pain with classloading and setting up JPA. There is some 3rd party blogs from ppl that explains how to do this. Try to search the internet to find those. On Fri, Nov 6, 2015 at 2:37 AM, Pratt, Jason wrote: > Hello - I am running into an error that has me shaking my head.

Re: Redelivery Policy set on Camel is ignored

2015-11-05 Thread Claus Ibsen
Are you using cache consumer on the jms component. You would need that as the redelivery delay is tracked on the client side, and it needs to cache the consumer so its the same consumer doing the redelivery. See the cache level option at http://camel.apache.org/jms On Fri, Nov 6, 2015 at 7:47 AM

Using camel-jetty options in recipient List

2015-11-05 Thread pratham
Hi , i am using camel spring xml for defining routes . The options i am interested are camel-jetty options.I am finding it difficult to understand what is going on in the scenario i am describing below: I have a sub-route which will be called from another

Message Header is not propagated!

2015-11-05 Thread Michele
Hi all, I am new to Camel and I'm writing to ask for help. With Jboss Fuse 6.2 I implemented pattern Splitter+Process+Aggregator for my scenario. I noticed that from route with id FileToIncomingTickets to route ProcessMessageData and ReportingOnImport *header is not propagated* (When i log value i

Re: Message Header is not propagated!

2015-11-05 Thread Michele
Hi, i resolved it following links reported below: http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html http://camel.apache.org/jms.html (transferExchange enabled) Sorry ;)! Thanks Regards Michele -- View this message in context: http://camel.465427.n5.nabble.com/Message-He

Redelivery Policy set on Camel is ignored

2015-11-05 Thread Michele
Hi, I'm enabling transaction in JMS Queue consuming route, and trying to configure RedeliveryPolicy in Spring/Camel file as you can see below: http://camel.apache.org/schema/spring";> I invoke rollback to check if me

jpa/hibernate casting exception

2015-11-05 Thread Pratt, Jason
Hello - I am running into an error that has me shaking my head. I've setup a consuming JPA route with the following blueprint. I am getting the exception at the bottom which is preventing me from moving further. I am using JPA/Hibernate in KARAF 3.0.4 Any help would be great! Jason from("jpa:

file 2 transform 2 http4 (httpd status 400)

2015-11-05 Thread Palmer, Eric
Hello camel fans, Been using camel for about 6 months. I¹m having a bit of a challenge getting the following route to work File Polling ‹> transform ‹> http4 PUT I can get this done in two routes #1 File Polling ‹> transform ‹> File Save #2 File Save ‹> http4 PUT Background - XML file (<10k

Persist & Replay Exchanges

2015-11-05 Thread Scott Stroud
Are there any approaches, patterns, or tools to: 1) clone inbound route exchanges. Optionally the ability to capture outbound exchanges as well. 2) persist them to file (xml, json, binary, etc.) 3) then take that file of persisted exchanges to another environment and essentially replay them See

Re: Camel 2.16.0 and camel-kafka using old verion of netty?

2015-11-05 Thread Claus Ibsen
You can try adding a never version of netty in your pom and see if kafka is okay with that. It seems the old versions comes from zookeeper. On Wed, Nov 4, 2015 at 10:22 PM, SteveR wrote: > Hi: > > I've recently upgraded my Linux RHEL6 java application to use *Camel 2.16.0* > and *netty4*. I see

Re: change url dynamically in to element

2015-11-05 Thread Claus Ibsen
See this FAQ http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html On Thu, Nov 5, 2015 at 12:09 PM, Ishada wrote: > My query contains a simple logic which is as follows > from(jms endpoint) > .process(new SomeProcessor) > .to(some http url); > > I am getting a json data from jms

Re: File Component : lost file and note consumed

2015-11-05 Thread Claus Ibsen
You very likely need to configure the read lock settings higher etc. On Thu, Nov 5, 2015 at 10:37 AM, wbyoussef wrote: > Hello, > > I have a route that consume xml files from directory : > > > > uri="file:/home/sharedFolder?recursive=true&delete=true&consumer.delay=500&m

change url dynamically in to element

2015-11-05 Thread Ishada
My query contains a simple logic which is as follows from(jms endpoint) .process(new SomeProcessor) .to(some http url); I am getting a json data from jms endpoint. The data contains HOST NAME , QUERY PARAMS , etc and based on this data I am creating a https://hostname/queryparams in So

Re: Is there a way to make camel:route-stop persist through a deploy?

2015-11-05 Thread Claus Ibsen
No that is not possible. You would need to build your own way of keeping that state somewhere and decide whether a camel route should start or not. On Thu, Nov 5, 2015 at 10:17 AM, Kari Pahula wrote: > Hi. > > I'm not sure whether this is more of a Karaf or a Camel question. I hope > that some

File Component : lost file and note consumed

2015-11-05 Thread wbyoussef
Hello, I have a route that consume xml files from directory : ... We have another application A1 that copy xml files on /home/sharedFolder. The issue is that some files are not consumed and deleted when A1 copy a high number of files in a few time. To reproduce this bu

Is there a way to make camel:route-stop persist through a deploy?

2015-11-05 Thread Kari Pahula
Hi. I'm not sure whether this is more of a Karaf or a Camel question. I hope that someone on this list would know about this. I have a bundle with several camel routes defined in my blueprint.xml. I may need to stop some of those in karaf with camel:route-stop. That works fine but once I deploy m