Re: Recipient list JMS endpoint with Exclusive reply queues (InOut)

2015-07-14 Thread Gnanaguru S
Also Claus, what do you think about the exclusive queues and temp queues concern ? Which one do you recommend ? Under significant load temp queues are recommended ? Or is it a way to delete the temp queues after some expiry time(may be this is a activemq question) Basically all these things are h

Re: Recipient list JMS endpoint with Exclusive reply queues (InOut)

2015-07-14 Thread Claus Ibsen
On Wed, Jul 15, 2015 at 8:17 AM, Gnanaguru S wrote: > Yeah, > > I dont think JBoss Fuse 6.1 comes with Camel 2.12.3. let me check the > release notes. :( > You can use your RH subscription to ask the vendor about this, and also request whether such functionality can be included in an upcoming pat

Re: Recipient list JMS endpoint with Exclusive reply queues (InOut)

2015-07-14 Thread Gnanaguru S
Yeah, I dont think JBoss Fuse 6.1 comes with Camel 2.12.3. let me check the release notes. :( Regardless, thanks Claus. Regards Guru -- View this message in context: http://camel.465427.n5.nabble.com/Recipient-list-JMS-endpoint-with-Exclusive-reply-queues-InOut-tp5769320p5769326.html Sent

Re: Java DSL Help

2015-07-14 Thread Claus Ibsen
Hi Argh that is CXF and afair I does not have a dsl builder for Java. You would likely need to build all those java objects yourself and put together somehow. It should be possible. On Tue, Jul 14, 2015 at 9:51 PM, Paul Avijit wrote: > Hi, > > I have the following in Spring DSL. Can anyone plea

Re: Recipient list JMS endpoint with Exclusive reply queues (InOut)

2015-07-14 Thread Claus Ibsen
There is a header you can use to provide that and then you dont need the recipient list See requestTimeout at http://camel.apache.org/jms but it requires Camel 2.12.3. On Wed, Jul 15, 2015 at 8:05 AM, Gnanaguru S wrote: > Yes Claus, The queue name is the same just the request timeout. > > Regard

Re: Recipient list JMS endpoint with Exclusive reply queues (InOut)

2015-07-14 Thread Gnanaguru S
Yes Claus, The queue name is the same just the request timeout. Regards Guru -- View this message in context: http://camel.465427.n5.nabble.com/Recipient-list-JMS-endpoint-with-Exclusive-reply-queues-InOut-tp5769320p5769322.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Insert after ready Fixed length message from queue

2015-07-14 Thread Claus Ibsen
Hi You need to use named parameters in the sql, where you can use body to refer to the body fields http://camel.apache.org/sql-component .to("sql:insert into orders (id, item, processed) values (:#${body.id}, :#${body.item}, false)") On Tue, Jul 14, 2015 at 10:49 PM, vivekrao001 wrote: > Hi, >

Re: Recipient list JMS endpoint with Exclusive reply queues (InOut)

2015-07-14 Thread Claus Ibsen
Hi Is the queue name the same, but the only variation is the request timeout? On Wed, Jul 15, 2015 at 7:26 AM, Gnanaguru S wrote: > > Guys, > > I am using recipient list to dynamically generate a JMS producer endpoint. I > need this because I need to set the timeout dynamically. Also in a InOut

Camel Insert after ready Fixed length message from queue

2015-07-14 Thread vivekrao001
Hi, I'm successfully reading queue and parsing it into bean using bindy. But next I need to insert in to db. What ever the expression I use, it giving some error. Could some body help in forming the expression for the value parameter. - BodyTypecom.myapp.vivek.component.Ord

Re: CSV file

2015-07-14 Thread viral069
Can you provide me a example?? -- View this message in context: http://camel.465427.n5.nabble.com/CSV-file-tp466057p5769319.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Need help in running camel in raspberry pi

2015-07-14 Thread Parul
Hi All, I have uploaded sample code @ https://github.com/parulagrawal14/Came-Kura. Please let me know if i have done anything wrong in the project which might have caused the issue. Thanks and Regards, Parul -- View this message in context: http://camel.465427.n5.nabble.com/Fwd-Need-help-in-

Recipient list JMS endpoint with Exclusive reply queues (InOut)

2015-07-14 Thread Gnanaguru S
Guys, I am using recipient list to dynamically generate a JMS producer endpoint. I need this because I need to set the timeout dynamically. Also in a InOut exchange pattern. hybridJms:queue:Variable.Timeout.Queue?exchangePattern=InOut&requestTimeout=${header.request.timeRema

Re: Issue with after migrating from 2.9.0 to 2.15.1

2015-07-14 Thread Vijay Tolani
Hi Ibsen, Thanks a ton for your inputs. I was using Camel Placeholders with start at '${' and end with '}', which was working fine with 2.9.0 but was failing after migration. I reverted it to current default and it resolves the issue. Really appreciate your quick response on this. -- View this

Java DSL Help

2015-07-14 Thread Paul Avijit
Hi, I have the following in Spring DSL. Can anyone please help to find a way to do the same in Java DSL. http://tempuri.org/";> http://tempuri.org/}WsEngineWs2007HttpEp.http-conduit";> .*_EXPORT_.* .*_EXPORT1024_.* .*_WITH_DES_.* .*_WITH_AES_.* .*_WITH_NULL_.* .*_DH_anon_.*

Re: Camel Bindy bean as Parameter in Spring Jms Component using @Consume

2015-07-14 Thread Claus Ibsen
Hi Ah yeah there is no type converter that supports bindy as a fallback. So you would need to use the dataformat as David says. Though it begs the question for pojo consuming if we should add some annotation to add a conversion step so you can point to a data format / type converter (the latter i

Re: Camel Bindy bean as Parameter in Spring Jms Component using @Consume

2015-07-14 Thread David Karlsen
You need to define a dataformat step in your route: https://camel.apache.org/data-format.html for bindy: http://camel.apache.org/binding.html alternatively you can bind the dataformat to the endpoint: http://camel.apache.org/binding.html 2015-07-14 17:53 GMT+02:00 vivekrao001 : > @Consume(uri =

Re: Camel NMR dependencies

2015-07-14 Thread Vinny
I'm working in an osgi environment. What are the alternatives to nmr nowadays ? On Tue, Jul 14, 2015 at 12:35 PM Claus Ibsen wrote: > Hi > > Are you sure you want to use nmr? Its jbi based and therefore very > old, and if you use SMX 5.0 onwards its no longer included. > > Only if you use JBI al

Re: Camel NMR dependencies

2015-07-14 Thread Claus Ibsen
Hi Are you sure you want to use nmr? Its jbi based and therefore very old, and if you use SMX 5.0 onwards its no longer included. Only if you use JBI alot and can't drop that old s*** then you are stuck on it. If not then move on to just Camel. On Tue, Jul 14, 2015 at 6:31 PM, Vinny wrote: > He

Camel NMR dependencies

2015-07-14 Thread Vinny
Hello, Trying to test some of my nmr routes. I've looked at http://camel.apache.org/nmr.html and have looked at the test example at the bottom. The problem is I can't seem to locate the dependency that supplies the AbstractComponentTest class anywhere. Is there a maven dependency that is needed? Is

Re: How to customized Log Format of DefaultErrorHandler

2015-07-14 Thread Claus Ibsen
Hi If you mean the message history and stack trace it logs by default? Then you cannot really customize that. You can turn it off, and then use on exception / error handler and have a little route where you build that message you wanna log. Though we could add some interface for being able to cus

Camel Bindy bean as Parameter in Spring Jms Component using @Consume

2015-07-14 Thread vivekrao001
@Consume(uri = "jms:queue:TestQueueOne?concurrentConsumers=10") public String onMyMessage1(Order order) { Some logic } -- Bean Definition is as follows @FixedLengthRecord(length = 4) public class Order implements Serializable { @DataField(pos = 1, length = 2) private in

Re: Quartz2 problem with AsyncDelayedDelivery

2015-07-14 Thread Claus Ibsen
On Tue, Jul 14, 2015 at 2:41 PM, jnupponen wrote: > Hi! > > Thanks for the information, I'll take another approach to the long > redelivery times then. Can you say some number that would still be > acceptable waiting time in redeliveries? > > I don't actually call getContext.stop() in my code but

Re: CSV file

2015-07-14 Thread Claus Ibsen
Hi You can route that to a seda queue afterwards, and then consume from seda, using a consumer template or @pojo consuming or any other ways. You likely need to study Camel a bit more to learn how to do that. On Tue, Jul 14, 2015 at 2:08 PM, viral069 wrote: > Dear jstrachan, > > I have seen you

Re: Quartz2 problem with AsyncDelayedDelivery

2015-07-14 Thread jnupponen
Hi! Thanks for the information, I'll take another approach to the long redelivery times then. Can you say some number that would still be acceptable waiting time in redeliveries? I don't actually call getContext.stop() in my code but it was in the example to demonstrate the same effect that typi

Re: CSV file

2015-07-14 Thread viral069
Dear jstrachan, I have seen your post, from("file:src/data?noop=true").bean(new MyTransformerBean()); public class MyTransformerBean { // adding a parameter annotation so that Camel knows ot invoke // this method by default - in case we add more public methods later public List conver

Re: Issue with after migrating from 2.9.0 to 2.15.1

2015-07-14 Thread Claus Ibsen
How have you configured any property placeholder? Have you reconfigured the start/end tokens or what? It should only by default react on {{ }} syntax. On Tue, Jul 14, 2015 at 2:10 PM, Vijay Tolani wrote: > Hi Ibsen, > > Tried to find any relevant info on the page, unfortunately could not. Below >

Re: Issue with after migrating from 2.9.0 to 2.15.1

2015-07-14 Thread Vijay Tolani
Hi Ibsen, Tried to find any relevant info on the page, unfortunately could not. Below is the stack trace of the issue ventId: 'ID-vmias23689-ms-com-38997-1436797399217-0-26136' in route: 'documentStart'.Error Message: Exception occurred during execution on the exchange: Exc hange[Message: com.ms.

Re: Reading multiple JMS messages inside a Route

2015-07-14 Thread Gabowsky
Hi Claus, Thanks for the tips about the pollEnricher and the sjms component! They seems indeed useful for this use-case, unfortunately since sjms cannot aggregate messages currently, and pollEnrich accepts only one message as response, i couldn't make use of them :( Anyway, I ended up with a cust

Re: Dynamic Camel Routes

2015-07-14 Thread Franz Paul Forsthofer
Hi Shashank, have a look at the direct_vm component: http://camel.apache.org/direct-vm.html. Maybe you can use this component in combination with recipient list (https://camel.apache.org/recipient-list.html) where you dynamically can set the receiver URIs. Regards Franz On Fri, Jul 10, 2015 at 1

unable to retrieve response from camel context

2015-07-14 Thread viral069
Dear All, I am working on CSV to Object creation Example with the use of Camel. I have create a bean in which i have a method with will do all operation, and that method will return List. My Question is how i am able to get List outside the Camel. Source Code: public class Person { privat

Re: Quartz2 problem with AsyncDelayedDelivery

2015-07-14 Thread Claus Ibsen
Hi Also dont stop Camel from the same thread you process a message. You should spin that off to a separate thread, or use controlbus in async mode etc. On Mon, Jul 13, 2015 at 11:18 AM, jnupponen wrote: > Hi! > > I've run into a problem with camel-quartz2 (at least on 2.13.2 and 2.15.2) > cron s

Re: Quartz2 problem with AsyncDelayedDelivery

2015-07-14 Thread Claus Ibsen
Hi Its bad practice to have so long redelvery intervals. Its is intended for short time processing. If you want so long then off load the messages to some persistent store and process from there. Though we have a ticket in JIRA to allow Camel's error handler to discard those pending redeliveries

Re: Issue with after migrating from 2.9.0 to 2.15.1

2015-07-14 Thread Claus Ibsen
Hi Sounds like some spring or blueprint property placeholder gets involved. Though hard to tell without the stacktrace and more details. However see the simple page about alternative syntax you can use to fix this. On Tue, Jul 14, 2015 at 12:48 PM, Vijay Tolani wrote: > Currently I am using the

Issue with after migrating from 2.9.0 to 2.15.1

2015-07-14 Thread Vijay Tolani
Currently I am using the below code on camel 2.9.0. ${in.body?.documentData?.isToBeProcessed} == 'true' and ${in.body?.documentData?.status} == 'Deleted' DOCUMENT_STATUS_DELETED

Re: What about a simpe to use dynamic to out of the box

2015-07-14 Thread Claus Ibsen
On Tue, Jul 14, 2015 at 10:38 AM, fxthomas wrote: > +1 for me. If you can have "Dynamic" from too it would be a great feature. > Ah dynamic from would be much more limited as there is no current exchange to compute. So it can only do some simple dynamic computations - and it can only be done once

How to customized Log Format of DefaultErrorHandler

2015-07-14 Thread Marco Crivellaro
Hi, I am using Camel 2.15.3-SNAPSHOT How do I customise the Log Format of default error handler? I would like to output the endpoint uri, exchange id, error message and stack trace only thanks a lot, Marco -- View this message in context: http://camel.465427.n5.nabble.com/How-to-customized-Lo

Re: What about a simpe to use dynamic to out of the box

2015-07-14 Thread fxthomas
+1 for me. If you can have "Dynamic" from too it would be a great feature. -- View this message in context: http://camel.465427.n5.nabble.com/What-about-a-simpe-to-use-dynamic-to-out-of-the-box-tp5769255p5769268.html Sent from the Camel - Users mailing list archive at Nabble.com.

What about a simpe to use dynamic to out of the box

2015-07-14 Thread Claus Ibsen
Hi Normally we would post this to @dev as its about development of Apache Camel. But I think a lot of Camel users may want to provide their thoughts on the idea to add a simple to use dynamic to. See this ticket for background and the idea https://issues.apache.org/jira/browse/CAMEL-8966 I thin