help route jms to -> from ?

2020-08-20 Thread Chandler, Peter E
Here are my camel routes. The issue is the "price" route (has a JMS consumer) never runs (receives a message)? It seems like the "taxes" never sents .to(finalPrice) message? : Any ideas? Thanks in advance, Peter. // workflow 1.1 (Entry Point & Add Tax)

Re: ERROR [org.apache.camel.component.jms.DefaultJmsMessageListenerContainer]

2017-05-11 Thread chandler
Final thought, when the JMS component "requestTimeout" is triggered. Shouldn't associated (running) Producer Template(s) be stopped? Bug? -- View this message in context:

Re: ERROR [org.apache.camel.component.jms.DefaultJmsMessageListenerContainer]

2017-05-10 Thread chandler
I solved my problem (hang Queue listeners) by using the asyncRequestBody (see: http://camel.465427.n5.nabble.com/ProducerTemplate-timeout-td473382.html) JEE Container Servlet (HttpSessionTimeout) { Camel Routes { JMS Request/Reply

Re: ERROR [org.apache.camel.component.jms.DefaultJmsMessageListenerContainer]

2017-05-09 Thread chandler
Some more details: 2017-05-09 13:16:11,029 logLevel="ERROR", thread="Camel (p6pmtjsonresponse) thread #2 - TemporaryQueueReplyManager[local.q.cee.pm.p6milestone.json.inout.request]", class="org.apache.camel.component.jms.DefaultJmsMessageListenerContainer", lineNumber="938",

Re: ERROR [org.apache.camel.component.jms.DefaultJmsMessageListenerContainer]

2017-05-08 Thread chandler
Yes, I have a set of routes. One of my camel processors does a JMS request/reply using the org.apache.camel.ProducerTemplate.requestBody(...) see below. I believe 1. The Camel request/reply (InOut) 20 sec default timeout occurs. And the route is terminated. 2. However, the requestBody is still

Re: ERROR When unloading a WAR (wildfly 9.x)

2016-12-13 Thread chandler
I configure all the *destroy-method=* in spring but when I unload the WAR, the /TaskExecutor/ live on. Bug? Here is the answer (work around), you must call /stop/ on all the /ProducerTemplate/ ProducerTemplate pt = exchange.getContext().createProducerTemplate();

Re: ERROR When unloading a WAR (wildfly 9.x)

2016-12-07 Thread chandler
PS. Thanks for your time -- View this message in context: http://camel.465427.n5.nabble.com/ERROR-When-unloading-a-WAR-wildfly-9-x-tp5791164p5791214.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ERROR When unloading a WAR (wildfly 9.x)

2016-12-07 Thread chandler
/How do you run Camel in WildFly. Is it just a regular WAR you could also run in Tomcat ?/ Yes. A regular WAR. I am using XML DSL and org.springframework.web.context.ContextLoaderListener and org.apache.camel.component.servlet.CamelHttpTransportServlet to start/load the camel context. I have not

ERROR When unloading a WAR (wildfly 9.x)

2016-12-06 Thread chandler
I run a Camel JMS Request Reply in my routes works great. I believe responses go to a temp queue via org.apache.camel.component.jms.DefaultJmsMessageListenerContainer

NullPointer. org.apache.camel.component.jms.DefaultJmsMessageListenerContainer

2016-09-26 Thread chandler
NullPointer. org.apache.camel.component.jms.DefaultJmsMessageListenerContainer I am getting the following runtime exception. Caused by: java.lang.NullPointerException 2016-09-23 16:02:02,682 logLevel="ERROR", thread="Camel (MyRoute) thread #1670 - TemporaryQueueReplyManager[mytopic]",

Rest/jetty extending the request timeout

2016-09-19 Thread chandler
I have the following camel rest configuration / / How can I change the request timeout for this endpoint ? I would like to increase the timeout, by default jetty set to 3 ms. I tried adding /httpClient.timeout="30"/

Re: Camel JMS Properties.

2016-09-19 Thread chandler
FYI: if your camel header is named "camel.is.great" then the JMS property will be named "camel_DOT_is_DOT_great" -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-Properties-tp5787616p5787736.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel JMS Properties.

2016-09-15 Thread chandler
I have a camel route that needs to do request/reply to a JMS (non-camel) Service. My issue is I want to set some JMS properties in camel so my JMS Server can read them. Is there a way to do this? So in camel I tried: ProducerTemplate producerTemplate =

RE: [EXTERNAL] Re: Camel Spring JMX and context:property-placeholder

2016-08-23 Thread chandler
I tried the bridge no luck. From: Chandler, Peter E Sent: Thursday, August 11, 2016 1:18 PM To: 'Claus Ibsen-2 [via Camel]' Subject: RE: [EXTERNAL] Re: Camel Spring JMX and context:property-placeholder Thanks. Claus. From: Claus Ibsen-2 [via Camel] [mailto:ml-node+s465427n5786319...@n5

Request-Reply and Publish

2016-08-17 Thread chandler
Incoming endpoint is /Jetty/REST/ with/ Pattern="InOut"/. I then publish the request message on a topic. With multiple consumers. I only want one of the consumers (Service Activator) to reply. I tried putting a /pattern="InOnly"/ on the "to" of the Service Activators (camel components) that I

Re: Camel SEDA timeout: Update it at runtime

2016-08-17 Thread chandler
It would be nice if ALL the JMS/Exchange system headers/properties were persevered in the SEDA Queue. Example: /replyto correlationID, .../ -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SEDA-timeout-Update-it-at-runtime-tp5786538p5786544.html Sent from the Camel -

RE: [EXTERNAL] Re: Camel Spring JMX and context:property-placeholder

2016-08-12 Thread chandler
Thanks. Claus. From: Claus Ibsen-2 [via Camel] [mailto:ml-node+s465427n5786319...@n5.nabble.com] Sent: Thursday, August 11, 2016 7:27 AM To: Chandler, Peter E Subject: [EXTERNAL] Re: Camel Spring JMX and context:property-placeholder Is context:property-placeholder from Spring, if so you need

Re: synchronous REST-WS and camel routes

2016-08-12 Thread chandler
Thanks I will give it a try. -- View this message in context: http://camel.465427.n5.nabble.com/synchronous-REST-WS-and-camel-routes-tp5786285p5786337.html Sent from the Camel - Users mailing list archive at Nabble.com.

synchronous REST-WS and camel routes

2016-08-10 Thread chandler
I want to create a synchronous REST-WS that runs as set of camel routes and finally returns the HTTP response (JSON). My current thinking is Camel Rest component /to/ a camel request/reply jms component.The request is routed several times (enriched/transformed). And finally the reply needs to be

Camel Spring JMX and context:property-placeholder

2016-08-10 Thread chandler
I would like to externalize my JMX Properties. I am using the spring context:property-placeholder to set my JMX values. But the jmxAgent is run before the properties are set (context:property-placeholder)? // -- View this message in context:

Mina or other transport - would like blocking

2010-04-22 Thread Andrew Chandler
I'm not sure if I'm going to explain this well but let me try: We have 1000's of messages we want to send to a remote process.These messages are really 1 way only as the response comes back only for some of them when a message comes in. However because there is some timing related issues

Re: Mina blows up

2010-04-09 Thread Andrew Chandler
? in the ur. It should be textline=true. On Thu, Apr 8, 2010 at 9:14 PM, Andrew Chandler a...@riftware.com wrote: Is there anything wrong with this definition: from(direct:rcv).to(mina:tcp:// + pingResponseHost +: + pingResponsePort + ?timeout=30transferExchange=false/*+ ?textline

Mina blows up

2010-04-08 Thread Andrew Chandler
Hi there folks - hoping you can help me from gaining a permanent dent in my end from hitting the wall.We are using Camel for many things but we have setup a dedicate route to a simple standalone process - both ends set up a send and a receive route (different ports) - The route works until it

Re: Mina blows up

2010-04-08 Thread Andrew Chandler
at the encorder/decoder max length options. http://camel.apache.org/mina.html Could be that Mina has a default of one of them at 1024. On Thu, Apr 8, 2010 at 7:14 PM, Andrew Chandler a...@riftware.com wrote: Hi there folks - hoping you can help me from gaining a permanent dent in my end

Re: Mina blows up

2010-04-08 Thread Andrew Chandler
apparenlty the messages coming out of the splitter got returned as a response to the mina queue which choked on it because there were non - serializable items and actually fairly large items too. On Thu, 2010-04-08 at 14:14 -0500, Andrew Chandler wrote: Is there anything wrong with this definition

Re: Question about iterators/splitters

2010-03-12 Thread Andrew Chandler
. - Andrew Chandler wrote: No we aren't - our datasource objects are all implementing iterable which is being passed to the splitter and processed there. I'm about to try and figure out what it will take to convert and what other side-effects might be.Thank

Question about iterators/splitters

2010-03-11 Thread Andrew Chandler
I have a question about how camel processes iterables - I've been trying to track what looks like runaway memory usage. Based on thread profiles we're not going nuts running everything in parallel so another possibility that comes to mind is that the collection of items to be worked on is

Re: Question about iterators/splitters

2010-03-11 Thread Andrew Chandler
Ibsen wrote: Hi Are you using the streaming option on the splitter? Then it wont pre-iterate. On Thu, Mar 11, 2010 at 4:26 PM, Andrew Chandler a...@riftware.com wrote: I have a question about how camel processes iterables - I've been trying to track what looks like runaway memory usage

Re: Best Strategy - aggregation

2010-03-02 Thread Andrew Chandler
Thanks Clause On Tue, 2010-03-02 at 07:03 +0100, Claus Ibsen wrote: On Mon, Mar 1, 2010 at 8:24 PM, Andrew Chandler a...@riftware.com wrote: When does 2.3 come out - sounds like what I want, just I'm pretty sure we can't update to something that isn't released yet or at least very close

Re: Best Strategy - aggregation

2010-03-02 Thread Andrew Chandler
at a staggering rate my worry is that we're passing around too many maps in messages that are duplicated when split etc.Time to pull out the profiler I guess :) On Tue, 2010-03-02 at 07:03 +0100, Claus Ibsen wrote: On Mon, Mar 1, 2010 at 8:24 PM, Andrew Chandler a...@riftware.com wrote: When does

Re: Best Strategy - aggregation

2010-03-02 Thread Andrew Chandler
map (one per copy of the splitter) - The only hole in that theory is if more than one instance of the splitter bean is invoked for a single route. On Tue, 2010-03-02 at 16:38 +0100, Claus Ibsen wrote: On Tue, Mar 2, 2010 at 4:09 PM, Andrew Chandler a...@riftware.com wrote: We wound up

Re: Best Strategy - aggregation

2010-03-02 Thread Andrew Chandler
of the routes spawn new routes etc etc and it isn't unwinding due to logic holes on our part.We're in the process of trying to prove that now On Tue, 2010-03-02 at 16:38 +0100, Claus Ibsen wrote: On Tue, Mar 2, 2010 at 4:09 PM, Andrew Chandler a...@riftware.com wrote: We wound up resolving

Best Strategy - aggregation

2010-03-01 Thread Andrew Chandler
Hi there - with Clause help I've been able to get most of the way to where I need to be. Right now I'm doing a proof of concept with string payloads,however in the end the payload will be an object. Here's what I'm attempting I have an incoming message that contains an identifier as well as

Re: Best Strategy - aggregation

2010-03-01 Thread Andrew Chandler
/aggregator2.html It works bette with completion trigger. On Mon, Mar 1, 2010 at 5:40 PM, Andrew Chandler a...@riftware.com wrote: Hi there - with Clause help I've been able to get most of the way to where I need to be. Right now I'm doing a proof of concept with string payloads,however

Re: Split, custom threadpools, aggregationstrategy

2010-02-26 Thread Andrew Chandler
-in.queue).split().method(mySplitterBean, splitBody) .parallelProcessing().executeService(threadPoolExecutor).process(new Processor() { On Thu, Feb 25, 2010 at 11:36 PM, Andrew Chandler a...@riftware.com wrote: I'm hoping someone can help me out - I'm relatively new to camel, however I've

Split, custom threadpools, aggregationstrategy

2010-02-25 Thread Andrew Chandler
I'm hoping someone can help me out - I'm relatively new to camel, however I've googled and tried reading the documentation.What I'm trying to do ultimately is take a message, send it through a splitter ( a custom one in the end), and send it to processors in parallel and then use a custom