Re: dynamic naming dlq

2022-09-06 Thread Bing Lu
ctivemq:myerror-at-${routeId}") On Tue, Sep 6, 2022 at 4:16 PM Bing Lu wrote: >  Hi, is there a way to dynamic name the dlq name based on routeid? I > currently have it as the following which means every error is going to the > same dlq. thanks > errorHandler(deadLetterChannel("a

dynamic naming dlq

2022-09-06 Thread Bing Lu
Hi, is there a way to dynamic name the dlq name based on routeid? I currently have it as the following which means every error is going to the same dlq. thanks errorHandler(deadLetterChannel("activemq:queue:sth.dlq"))

sjms batch

2022-04-05 Thread Bing Lu
Hi, just wondering why the sjms-batch component was removed in camel 3.** and when will it be reimplemented? thanks

stuck messages sjms batch

2020-09-01 Thread Bing Lu
i'm using sjms-batch consumer with activemq, when consuming around 1.5 million messages, the last 400 or so messages seemed to be always stuck in the queue. nothing is going on with them, any ideas what could have caused such behavior? thanks

Re: deadletterchannel

2020-08-15 Thread Bing Lu
sageType.Text);             })         ); _ /M Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Saturday 15 August 2020 kl. 16:20, Bing Lu wrote: > what options do i need to use on deadletterchannel so the messages going > there show both original message as well as the caught exception and > stacktrace? thanks

deadletterchannel

2020-08-15 Thread Bing Lu
what options do i need to use on deadletterchannel so the messages going there show both original message as well as the caught exception and stacktrace? thanks

sjms batch dead letter queue question

2020-08-13 Thread Bing Lu
Hi, i am using sjms batch and during volume testing, there are bunch of messages going to the dead letter queue with the following, any ideas why? thanks Unknown message type [org.apache.activemq.command.ActiveMQMessage] ActiveMQMessage {commandId = 16, responseRequired = true, messageId =

Re: sjms batch stuck messages

2020-07-17 Thread Bing Lu
found out the stuck messages were actually duplicate messages since I was using indempotentrepository, my question is how do i reroute these messages to another queue if possible? thanks On Friday, July 17, 2020, 02:26:40 PM EDT, Bing Lu wrote: Hi, I'm using sjms batch with activemq

sjms batch stuck messages

2020-07-17 Thread Bing Lu
Hi, I'm using sjms batch with activemq, the consumers processes messages on the queue and after a while, there is nothing going to the consumers and no errors in the log while some messages are still stuck on the queue. any ideas what could have caused this? i have the activemqconnection

Re: reactive java question

2020-05-30 Thread Bing Lu
I figured it out, I can just use @produce and pump the result of the bean method to the endpoint, and once the bean method(onNext) is invoked, it will start flowing in camel. Silly me. On Wednesday, May 27, 2020, 08:00:41 PM EDT, Bing Lu wrote: Our code is subscriber only

Re: reactive java question

2020-05-27 Thread Bing Lu
for sure but I would use producer template do you send a message to a direct route and have that direct route to be in the from to start the processing in the route On Tue, May 26, 2020, 10:31 PM Bing Lu wrote: >  I have to incorporate a third party api in order to use the reactive > functio

reactive java question

2020-05-26 Thread Bing Lu
I have to incorporate a third party api in order to use the reactive functionality of the api. I'm using spring boot with this third party jar, and the starting point is the onNext() method that get invoked whenever an event occurs. My question is how do I make the onNext() method as a

Re: reactive streaming with camel and vertx

2019-12-12 Thread Bing Lu
if i have a verticle on one jvm how would i use the camel vertx component on another jvm consuming from the verticle on the other jvm? thanks Sent from Yahoo Mail on Android On Wed, Dec 11, 2019 at 11:39 AM, Bing Lu wrote: also if there is a vertx app deployed on another machine, i can

Re: reactive streaming with camel and vertx

2019-12-11 Thread Bing Lu
also if there is a vertx app deployed on another machine, i can still use the from(vertx:channelname)... right? given the host and port of the other machine Sent from Yahoo Mail on Android On Wed, Dec 11, 2019 at 7:33 AM, Bing Lu wrote: i am running it as a spring boot app Sent from

Re: reactive streaming with camel and vertx

2019-12-11 Thread Bing Lu
i am running it as a spring boot app Sent from Yahoo Mail on Android On Tue, Dec 10, 2019 at 9:09 PM, Bing Lu wrote: Is vertx component a replacement of vertx camel bridge? when i did the following I got the following exception from("vertx:testchannel?host=127.0.0.1=").t

Re: reactive streaming with camel and vertx

2019-12-10 Thread Bing Lu
g | | port (common) | Port for creating an embedded clustered EventBus | | int | On Tuesday, December 10, 2019, 05:32:28 PM EST, Bing Lu wrote: hi, there seems to be two way using reactive streaming with camel with vertx 1. using vertx camel bridge2. using vertx

reactive streaming with camel and vertx

2019-12-10 Thread Bing Lu
hi, there seems to be two way using reactive streaming with camel with vertx 1. using vertx camel bridge2. using vertx camel component what are the difference between the two and are there any examples of usage? thanks

Re: camel restart

2019-11-26 Thread Bing Lu
to stop. The routing is still running behind. could you please explain in more detail in what case, your route will stopped need restarting? On Mon, Nov 25, 2019 at 10:39 PM Bing Lu wrote: >  So i can do sth like the following,assuming the JmsException stops the > route? thanks > >

Re: camel restart

2019-11-25 Thread Bing Lu
art/stop routes from another route. https://camel.apache.org/components/latest/controlbus-component.html You may also use JMX to manually start/stop routes. With Hawtio https://hawt.io this would be easier. https://camel.apache.org/manual/latest/jmx.html On Tue, Nov 26, 2019 at 9:37 AM Bi

camel restart

2019-11-25 Thread Bing Lu
Hi, is there a way to restart the app in case a route was stopped for some reason? thanks 

Re: restart stopped route automatically due to exception

2019-11-13 Thread Bing Lu
":"Camel (camel-1) thread #43 - SjmsBatchConsumefrom Sent from Yahoo Mail on Android On Wed, Nov 13, 2019 at 10:08 AM, Bing Lu wrote: hi, is there a way to automatically restart a route that got stopped due to some exception caused by server patching, queue unavailable for a short pe

restart stopped route automatically due to exception

2019-11-13 Thread Bing Lu
hi, is there a way to automatically restart a route that got stopped due to some exception caused by server patching, queue unavailable for a short period of time? I am using sjmsbatch and one of the route is stopped and never restarted during the maintenance window because it caught an

question

2019-09-12 Thread Bing Lu
hi, i am using sjms batch component with wesphere mq. it seems whenever the queue is inhibited, i get the following exception and the sjmsbatchcosumer will just stop running and will not run when the queue is turned back on. is there anyway for the sjmsbatch component to ignore the exception or

Re: Camel vs BPEL

2012-09-12 Thread Bing Lu
thanks for the links. I'm trying to convince them why camel is better than BPEL in the system integration world, any suggestions welcome On Wed, Sep 12, 2012 at 5:37 PM, chris snow chsnow...@gmail.com wrote: you may find these links useful: