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) rest().post("/p

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: http://camel.465427.n5.nabble.com/ERROR-org-apache-camel-component-jms-DefaultJmsMessageListenerContainer-tp5792757p5799343

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 org.apache.camel.component.jms.JmsConfi

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", elapsedFromTheConstruc

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 pe

Re: Get full request url from Exchange

2017-01-23 Thread chandler
The below seems to work. -- View this message in context: http://camel.465427.n5.nabble.com/Get-full-request-url-from-Exchange-tp5726086p5793026.html Sent from the Camel - Users mailing list archive at Nabble.com.

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

2017-01-18 Thread chandler
I am doing camel request/reply, Camel XML: Not sure how/where this message is coming from? I am thinking that the response/reply is never returned and the route times out? Is there away to remove the temporary queues from the

http://camel.apache.org/swagger-java.html (typo ?)

2017-01-05 Thread chandler
On page http://camel.apache.org/swagger-java.html you have: RestSwaggerCorsFilter org.apache.camel.swagger.*rest*.RestSwaggerCorsFilter I think it should be: RestSwaggerCorsFilter org.apache.camel.swagger.*servlet*.RestSwaggerCorsFilter -- View this message in context: http://

Minor Doc issue.

2017-01-03 Thread chandler
In URL : http://camel.apache.org/swagger-java.html at the bottom it reads: /Examples In the Apache Camel distribution we ship the camel-example-swagger-cdi and *camel-example-swagger-java* which demonstrates using this Swagger component./ I think it should read: /Examples In the Apache Camel

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 tr

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]", class="org.

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 = exchange.getContext().createProdu

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+s465427n578

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 di

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 - Use

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 to

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 re

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: http://camel.465427.n5.nabble.com/Camel-Spring-JMX-an

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 sur

Re: Mina blows up

2010-04-09 Thread Andrew Chandler
uri is wrong. You can only have 1 ? in the ur. It should be > &textline=true. > > > On Thu, Apr 8, 2010 at 9:14 PM, Andrew Chandler wrote: > > Is there anything wrong with this definition: > > from("direct:rcv").to("mina:tcp://" + pingR

Re: Mina blows up

2010-04-08 Thread Andrew Chandler
r etc 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 de

Re: Mina blows up

2010-04-08 Thread Andrew Chandler
?timeout=30&transferExchange=false. Exchange[Message: 3,439] On Thu, 2010-04-08 at 13:52 -0500, Andrew Chandler wrote: > Ok further weirdness - since I'm using tcp and I don't really care if > my objects go as text I just wanted

Re: Mina blows up

2010-04-08 Thread Andrew Chandler
ng with textline too for all I know). So I added the transferExchange=false explicitly and am about to test that. I'll let you know what I find. On Thu, 2010-04-08 at 13:05 -0500, Andrew Chandler wrote: > Ok I'll look at that but what puzzles me is if each message is sent >

Re: Mina blows up

2010-04-08 Thread Andrew Chandler
ave you looked 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 wrote: > > Hi there folks - hoping you can help me from ga

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: Question about iterators/splitters

2010-03-12 Thread Andrew Chandler
ry usage problem too; > This situation is very un-usual. If your situation ask for this, you'd > better write a custom code. > > > - > Andrew Chandler wrote: > >No we aren't - our datasource objects are all implem

Re: Question about iterators/splitters

2010-03-11 Thread Andrew Chandler
100, Claus 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 wrote: > > I have a question about how camel processes iterables - I've been trying > > to track

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 getting

Re: Best Strategy - aggregation

2010-03-02 Thread Andrew Chandler
ome 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 wrote: > > We wound u

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 wrote: > > We wound up resolvin

Re: Best Strategy - aggregation

2010-03-02 Thread Andrew Chandler
ing memory 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 wrote: >

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 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 l

Re: Best Strategy - aggregation

2010-03-01 Thread Andrew Chandler
gt; http://camel.apache.org/aggregator2.html > > It works bette with completion trigger. > > > On Mon, Mar 1, 2010 at 5:40 PM, Andrew Chandler 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

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: Split, custom threadpools, aggregationstrategy

2010-02-26 Thread Andrew Chandler
; eg > > from("activemq:queue:sping-in.queue").split().method(mySplitterBean, > "splitBody") > > .parallelProcessing().executeService(threadPoolExecutor).process(new > Processor() { > > > On Thu, Feb 25, 2010 at 11:36 PM, Andrew Chandler wrote: > > I'm

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 aggr