Need Help with JMS setup

2013-01-27 Thread amitoberoi
Hi, I have just started scratching my head with Camel and infact with JMS as well; you can consider me naive and curious on this subject. I have setup a JMS queue on a glassfish server on my local PC. The galssfish logs tells me that JMS is active on URI mq://localhost:7676. My connection facotry

Re: Camel Quartz Bug

2013-01-27 Thread Claus Ibsen
On Mon, Jan 28, 2013 at 12:46 AM, garrydias wrote: > Thanx Christian. You are right. Set Exchange.MAXIMUM_ENDPOINT_CACHE_SIZE > property before camel1.start() is the key to solve my problem. > > This is not a bug after all. > Ah well in fact we fixed an issue in the upcoming Camel releases relate

RE: issues with simple example

2013-01-27 Thread AMARNATH, Balachandar
Further to my below query, I also need to pass few parameters from one process to another process, this means that process 2 takes the one of the outputs of process 1 and process it along with manual output. Also, there is big probability that processes can be run in parallel. Is camel support

RE: issues with simple example

2013-01-27 Thread AMARNATH, Balachandar
Hello, Thanks for the help, Now, I need to pass a set of strings (say, in a arrayList). This list need to be processed by the processor code. Now, which endpoint will be suitable to give this list as an input? Further, I have observed that when I use an endpoint like this 'from::', at the end

Re: Scala DSL with Scala 2.10

2013-01-27 Thread Willem jiang
+1 for the micro-branch for the camel-scala, and we can do the release it after major release of camel. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com

Re: Trouble with asserts on a mockendpoint receiving caught exceptions

2013-01-27 Thread Mark Doyle
Just noticed the test code only shows up on the nabble web interface. This is the createRouteBuilder configure contents: from("mina2:tcp://localhost:12345?sync=false&codec=#kissFrameSyncCodecFactory"). setExchangePattern(ExchangePattern.InOnly). bean(hdlcFrameDecoder). doTry(). bean(packetDec

Re: Camel Quartz Bug

2013-01-27 Thread garrydias
Thanx Christian. You are right. Set Exchange.MAXIMUM_ENDPOINT_CACHE_SIZE property before camel1.start() is the key to solve my problem. This is not a bug after all. Thanx again []s -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Quartz-Bug-tp5726285p5726392.html Sen

Re: Reading a file

2013-01-27 Thread helander
Hi Christian, sounds simple :) However before the consumer can consume the contents of the file, it needs to be processed by some additonal (route)-steps, how would I do that? Thanks Lars -- View this message in context: http://camel.465427.n5.nabble.com/Reading-a-file-tp5726376p5726388.htm

Re: [ANN] hawtio: a new lightweight HTML5 console for Apache Camel, ActiveMQ, JMX, OSGi & Fuse Fabric

2013-01-27 Thread Hadrian Zbarcea
Well, I think I do understand the issue Lukasz is bringing up. I am blaming his ESL on not sending the message across very well. One thing would help (I think) is to move the traffic related to hawt.io on the hawt.io site, off the @camel lists. (Same goes for the camel-extra project.) Cheers

Re: [ANN] hawtio: a new lightweight HTML5 console for Apache Camel, ActiveMQ, JMX, OSGi & Fuse Fabric

2013-01-27 Thread Maruan Sahyoun
for me it worked issuing install https://oss.sonatype.org/content/repositories/snapshots/io/hawt/hawtio-web/1.0-SNAPSHOT/hawtio-web-1.0-20130125.104750-35.war instead of the mvn url With kind regards Maruan Sahyoun Am 27.01.2013 um 19:43 schrieb Christian Müller : > Hi James (and all others

Re: [ANN] hawtio: a new lightweight HTML5 console for Apache Camel, ActiveMQ, JMX, OSGi & Fuse Fabric

2013-01-27 Thread Christian Müller
Hi James (and all others involved creating this product)! Congrats for this product. It looks awesome (without having the time to go into the details until now). I wish you success with it. At present, I think the best is to let the project grow up at GitHub and see whether it will get a solid us

Re: Answer to a problem

2013-01-27 Thread Hadrian Zbarcea
For future reference, the right list for such questions is users@camel.apache.org. In your particular case try to either get net connectivity or: > mvn install -Dfastinstall from the root directory of the project (two directories up from where you are). After you do this once, subsequent mvn in

Re: Trouble with asserts on a mockendpoint receiving caught exceptions

2013-01-27 Thread Christian Müller
Can you share your test with us? Even better if you can share a working unit test so that we can run the test and see what's going wrong. And for every question, it's good to know which version of Camel do you use. Best, Christian On Sun, Jan 27, 2013 at 2:10 PM, MarkD wrote: > Hi all, > > I ha

Re: Reading a file

2013-01-27 Thread Christian Müller
Why no using a consumer template [1]? For the transformation, I would use a custom type converter [2]. Than you could do something like: YourCustomBean bean = receiveBodyNoWait("file://...?fileName=foo.txt&noop=true", YourCustomBean.class); or if you need to access the exchange: Exchange exchange

Re: Scala DSL with Scala 2.10

2013-01-27 Thread Christian Müller
We have done something similar with camel-http and camel-http4. At some time, we should consider dropping the support for the older one. Best, Christian Sent from a mobile device Am 26.01.2013 21:28 schrieb "Henryk Konsek" : > > There must be other project in the same unfortunate situation about

Reading a file

2013-01-27 Thread helander
I am trying to find a way to do: >From a Producer Template send a request to a route, and in the route I would like to read the contents of a file, transform the contents and return back to the producer template. Location and name of file is fixed and the file should not be moved/removed by the r

Trouble with asserts on a mockendpoint receiving caught exceptions

2013-01-27 Thread MarkD
Hi all, I have the following test route in my createRouteBuilder method of the test: The test data includes some input that throws exceptions so I am expecting those to end up in the mock endpoint called errorBin. This does seem to be the case. If I put a log after the docatch and before the to

Re: Custom interceptors and finding the first and last camel route

2013-01-27 Thread Christian Müller
Please find my comments inline. Best, Christian On Thu, Jan 24, 2013 at 12:10 PM, BAnanth wrote: > Hello, > > We have a requirement wherein we need to do some database operations > (inserts/updates) immedialtely after the first and last routes are > executed. > What do you mean? After each exc

Re: Dynamically building endpoint

2013-01-27 Thread helander
Hi Claus, I got it to work. Thanks Lars -- View this message in context: http://camel.465427.n5.nabble.com/Dynamically-building-endpoint-tp5726286p5726370.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Quartz Bug

2013-01-27 Thread Christian Müller
Can you increase the max. cache size for Camel endpoints as described at [1]? [1] http://camel.apache.org/how-do-i-configure-the-maximum-endpoint-cache-size-for-camelcontext.html Best, Christian On Sat, Jan 26, 2013 at 12:11 PM, garrydias wrote: > Adding an output of my test case: > Triggered