How to set Cookie before routing the request to another service URL?

2011-11-12 Thread Abhijith
Hi, How to set Cookie before routing the request another service URL? I am trying to develop a route which receives the JSON request and set the values from JSON to HttpServletRequest Attribute and sets the cookie on the request which is saved in DB and routes it to another URL. http://camel.ap

Remotely pulling messages using CAMEL

2011-11-12 Thread newbiee
Jesus: I need to know which component should I use for low level TCP/IP communication i.e. netty or mina? After going throug the documentation I think MINA is more advance. My application will need to send messages to many trucks every 15 minutes. So let say my application is a client machine wh

Re: Help creating a route amq1-->bean-->amq2 - with timeouts

2011-11-12 Thread Christian Müller
Hey Matt! Welcome in the Apache Camel community! Something like this should fit your needs: http://camel.apache.org/schema/blueprint";> Camel In-Bound Route By default, the ActiveMQ component use the InOnly message exchange pattern. This means you consume a messag

Re: Misleading jmx statistics on jpa component

2011-11-12 Thread bvahdat
@Claus, could you also please take a quick look at my comment on the ticket as well: https://issues.apache.org/jira/browse/CAMEL-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149180#comment-13149180 Thanks, Babak -- View this message in context:

Re: http://repository.apache.org does NOT respond

2011-11-12 Thread bvahdat
Hi, I created a ticket including a patch which should mitigate this issue a bit in the case the fusesource repo is down. https://issues.apache.org/jira/browse/CAMEL-4673 Regards, Babak -- View this message in context: http://camel.465427.n5.nabble.com/http-repository-apache-org-does-NOT-respo

Re: How to make your camel routes highly available when only one may be active at a time

2011-11-12 Thread Preben.Asmussen
Hi Christian Nice work. Seems to me that there might be something missing. I guess the quickes of the nodes to start will have alle the routes in active state, and thereby have all the load wich is not optimal. What about a way to balance active/passive state between nodes to control/balance th

Re: http://repository.apache.org does NOT respond

2011-11-12 Thread bvahdat
Now that's repo.fusesource.com which seems to be down, currently this repository ist scattered through the following camel's components: http://camel.465427.n5.nabble.com/file/n4987167/fusesource.jpg fusesource.jpg and I wonder if there's a good reason for that. Here what maven says about this r

Re: Bindy CSV marshal does not properly quote values defined by the CsvRecord separator

2011-11-12 Thread Claus Ibsen
On Mon, Oct 17, 2011 at 2:11 PM, Claus Ibsen wrote: > On Fri, Sep 16, 2011 at 4:06 AM, Willem.Jiang wrote: >> Hi, >> >> After checking the code of BindyCsvFactory, I found the it only support the >> separator to be char not  a string. >> Maybe we should add some note's on the camel-bindy wiki pag

Re: Misleading jmx statistics on jpa component

2011-11-12 Thread Claus Ibsen
On Sat, Nov 12, 2011 at 2:03 PM, Preben.Asmussen wrote: > Added comment to https://issues.apache.org/jira/browse/CAMEL-4668 > > If the jmx stats. doesn't reflect that the exchanges have failed, then it > would be hard to use the statistics for eg. monitoring tools. > Its not hard, the monitoring

Re: Misleading jmx statistics on jpa component

2011-11-12 Thread Preben.Asmussen
Added comment to https://issues.apache.org/jira/browse/CAMEL-4668 If the jmx stats. doesn't reflect that the exchanges have failed, then it would be hard to use the statistics for eg. monitoring tools. -- View this message in context: http://camel.465427.n5.nabble.com/Misleading-jmx-statistics-o

Re: How to make your camel routes highly available when only one may be active at a time

2011-11-12 Thread Ioannis Canellos
Hi Chris, Actually Hazelcast provides a distributed lock implementation and we don,t have to implement it ourselves. You are right about the split though! Really nice work! On Saturday, November 12, 2011, Christian Schneider wrote: > Hi Raul, > > a lock implementation in Hazelcast is surely pos

[ANN] - Apache Camel 2.9.0-RC1 Released

2011-11-12 Thread Claus Ibsen
The Camel PMC is glad to announce the availability of Apache Camel 2.9.0-RC1. This is only a release candidate for version 2.9, so we don't recommend adoption into production systems. Due to some larger changes like core API refactorings, Spring dependency changes, rewritten simple expression lang

Re: How to make your camel routes highly available when only one may be active at a time

2011-11-12 Thread Christian Schneider
Hi Raul, a lock implementation in Hazelcast is surely possible but probably quite difficult to do right. Typically you would work with a kind of heartbeat to tell if the other nodes are alive. The problem arises when the network connect breaks but the nodes are still alive. Then each would thi

RE: Error while deploying Camel routers on ServiceMix...

2011-11-12 Thread Omar Atia
Dears, Adding to below e-mail when ignoring some packages , I had the following : karaf@root> Exception in thread "SpringOsgiExtenderThread-8" org.springframework .beans.factory.BeanCreationException: Error creating bean with name 'INunified': Initialization of bean failed; nested exception is j

Re: Misleading jmx statistics on jpa component

2011-11-12 Thread Claus Ibsen
On Fri, Nov 4, 2011 at 7:21 PM, Preben.Asmussen wrote: > It seems that there are at least 2 discussions going on here if I'm not > wrong. > > That Spring tries to commit even though the transaction is marked for > rollback, and that that the jmx statistics reflects completed on exchanges > that ar

Re: Where to keep .xsl in eclipse

2011-11-12 Thread Claus Ibsen
Hi The src/main/resources is automatic in the classpath, so do like this                .to("xslt:META-INF/spring/createIncident.xsl"); classpath is the default, but you can explicit specify this                .to("xslt:classpath:META-INF/spring/createIncident.xsl"); You can also use file:

Where to keep .xsl in eclipse

2011-11-12 Thread farha
Can anyone tell where to keep the .xsl in eclipse?? I am using Fuse-4.4.1 in eclipse-Helios. I have to send and xml file from a folder to output folder transforming it using xslt. This is the code from("file://rider/inbox/") .wireTap("log:com.wipro.camel.MyRouteBu

Re: Type Converters Load

2011-11-12 Thread Claus Ibsen
The idea is to only start Camel once. What you do is to start it repeatedly from a timer. See the FAQ such as http://camel.apache.org/running-camel-standalone.html http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html On Fri, Nov 11, 2011 at 1:52 PM, ebinsingh wrote: >

Re: How to make your camel routes highly available when only one may be active at a time

2011-11-12 Thread Claus Ibsen
Hi Great work. I think Christians work is already pluggable, so it's just a matter of having a SPI interface, and possible with some basic class implementation for 3rd party to extend / implement. As the JDBC code most likely does not need any 3rd party JARs it can be hosted in camel-core. Or po