Re: Camel JMS consumer with dynamic selector to read ActiveMQ DLQueues

2025-03-11 Thread Ephemeris Lappis
- > From: Ephemeris Lappis > Sent: Tuesday, March 11, 2025 9:07 AM > To: users@camel.apache.org; us...@activemq.apache.org > Subject: [EXTERNAL SENDER:] Camel JMS consumer with dynamic selector to > read ActiveMQ DLQueues > > Hello. > > I'm looking for a simple wa

RE: Camel JMS consumer with dynamic selector to read ActiveMQ DLQueues

2025-03-11 Thread Mattern, Alex
of messages, where X is specified on startup. -- Alex -Original Message- From: Ephemeris Lappis Sent: Tuesday, March 11, 2025 9:07 AM To: users@camel.apache.org; us...@activemq.apache.org Subject: [EXTERNAL SENDER:] Camel JMS consumer with dynamic selector to read ActiveMQ DLQueues Hello

Camel JMS consumer with dynamic selector to read ActiveMQ DLQueues

2025-03-11 Thread Ephemeris Lappis
Hello. I'm looking for a simple way to clean DLQ queues on our ActiveMQ brokers. Messages are moved to DLQ queues when some unexpected conditions lead consumers to fail. We've no automatic processing for DLQ messages that are only needed for diagnosis. Nevertheless, when the queues contain too man

Re: Camel JMS headers

2024-09-16 Thread Claus Ibsen
On Mon, Sep 16, 2024 at 5:30 PM Chirag wrote: > Thanks Claus. > > Balint, fix is on a new branch and not on 4.0.x. Would you know how to > cherrypick to 4.0.x branch to get it in version you need and validate? > > Camel 4.0.x is EOL and not supported. > > On Mon, Sep 16, 2024 at 4:55 AM Bálint

Re: Camel JMS headers

2024-09-16 Thread Chirag
Thanks Claus. Balint, fix is on a new branch and not on 4.0.x. Would you know how to cherrypick to 4.0.x branch to get it in version you need and validate? On Mon, Sep 16, 2024 at 4:55 AM Bálint Baráth wrote: > Thanks for the quick response, and the fix! > > Claus Ibsen ezt írta (időpont: 202

Re: Camel JMS headers

2024-09-16 Thread Bálint Baráth
Thanks for the quick response, and the fix! Claus Ibsen ezt írta (időpont: 2024. szept. 14., Szo 11:31): > Hi > > Yeah lets investigate this I created a ticket > https://issues.apache.org/jira/browse/CAMEL-21219 > > On Thu, Sep 12, 2024 at 8:36 AM Bálint Baráth > wrote: > > > Hello! > > > > I'm

Re: Camel JMS headers

2024-09-14 Thread Claus Ibsen
Hi Yeah lets investigate this I created a ticket https://issues.apache.org/jira/browse/CAMEL-21219 On Thu, Sep 12, 2024 at 8:36 AM Bálint Baráth wrote: > Hello! > > I'm using camel 4.0.6 with java 17 and springboot 3.2.6. > When using camel with JMS and using a request-reply EIP, camel puts som

Re: Camel JMS headers

2024-09-14 Thread Bálint Baráth
Yes, the property gets added as 'CamelJmsDeliveryMode' and has a value of 1 or 2. But the usual JMSDeliveryMode with persistent/nonpersistent is also there, added by the camels JmsConfiguration class. I saw a comment in the code, that this property is temporary, and it removes it, when setting the

Re: Camel JMS headers

2024-09-13 Thread Chirag
Is Tibco seeing it as DeliveryMode or with Camel name on it? Do you also see DeliveryMode? regards, On Thu, Sep 12, 2024 at 10:13 AM Bálint Baráth wrote: > Hello! > > FYI if somebody runs into the same problem: > I managed to create a workaround, after finding where the header gets > added. I

Re: Camel JMS headers

2024-09-12 Thread Bálint Baráth
Hello! FYI if somebody runs into the same problem: I managed to create a workaround, after finding where the header gets added. It's inside the tibco jms implementation, where all the properties on the message get added as jms headers, so the CamelJmsDeliveryMode int property was added. I created

Camel JMS headers

2024-09-11 Thread Bálint Baráth
Hello! I'm using camel 4.0.6 with java 17 and springboot 3.2.6. When using camel with JMS and using a request-reply EIP, camel puts some extra headers on the reply message. The CamelMessageTimestamp can be removed using the removeHeaders("Camel*") feature, but there is a header named "*CamelJmsDel

Re: Camel JMS component / Dynamic destination on consumer

2024-04-17 Thread Ephemeris Lappis
Hello Claus. Indeed, this is a perfect way to get the dynamic queue name : {{sys:XXX}}. Thanks a lot ! Regards. Le mer. 17 avr. 2024 à 17:04, Claus Ibsen a écrit : > > Hi > > You can use {{ }} syntax that can refer to JVM sys properties also. > > The toD example you have is using simple langua

Re: Camel JMS component / Dynamic destination on consumer

2024-04-17 Thread Claus Ibsen
Hi You can use {{ }} syntax that can refer to JVM sys properties also. The toD example you have is using simple language and its not the same as {{ }} but they can both use sys/env variables etc. On Wed, Apr 17, 2024 at 4:36 PM Ephemeris Lappis wrote: > Hello. > > I'm looking for some way to

Camel JMS component / Dynamic destination on consumer

2024-04-17 Thread Ephemeris Lappis
Hello. I'm looking for some way to set a JMS consumer on a queue whose name depends on the context (in my real case, a system property). For a producer, the route (we use blueprint DSL) can be something like that : But I don't see any way for the "from" uri... Any idea ? Thanks for your help

Re: Camel JMS & transaction : redelivery conditions ignored

2024-03-12 Thread Ephemeris Lappis
Hello.Claus ! Well ! after more tests, I can confirm that on the broker side all works as expected. I've also found some way to set set the route such a way that failing messages are moved to the DLQ the same way they are when processed by applications.

Re: Camel JMS & transaction : redelivery conditions ignored

2024-03-11 Thread Ephemeris Lappis
Hello Claus. I'm not sure that I should change anything on the broker side : with the same ActiveMQ, java applications with a similar connection factory configuration (maximumRedeliveries=0) actually do a rollback on failing messages processing, and the broker moves them to DLQ queues. These appli

Re: Camel JMS & transaction : redelivery conditions ignored

2024-03-11 Thread Claus Ibsen
Hi You need to set this on the broker side, it's the one that does the redelivery. Every broker has their own settings for DLQ and redelivery. On Mon, Mar 11, 2024 at 2:20 PM Ephemeris Lappis wrote: > Hello. > > It seems that the JMS consumer ignores the redelivery conditions that > I set on my

Camel JMS & transaction : redelivery conditions ignored

2024-03-11 Thread Ephemeris Lappis
Hello. It seems that the JMS consumer ignores the redelivery conditions that I set on my route : java.lang.Exception ${body

Camel JMS / Move failing message to DLQ queue

2024-03-01 Thread Ephemeris Lappis
Hello. For almost all our JMS consumer routes, we didn't need to move messages to a DLQ queue : for now only redelivery is handled to avoid repeated errors with something like that on the routes : java.lang.Exception

Re: Camel JMS headers not updated by producer

2024-01-17 Thread Ephemeris Lappis
done : https://issues.apache.org/jira/browse/CAMEL-20338 Le mer. 17 janv. 2024 à 08:03, Claus Ibsen a écrit : > > Hi > > No this is not possible out of the box with dynamic queue names. > > It may be desirable to enrich the message with > a CamelJmsDestinationNameProduced header that includes the

Re: Camel JMS headers not updated by producer

2024-01-16 Thread Claus Ibsen
Hi No this is not possible out of the box with dynamic queue names. It may be desirable to enrich the message with a CamelJmsDestinationNameProduced header that includes the name. You are welcome to create a JIRA. On Mon, Jan 8, 2024 at 10:05 AM Ephemeris Lappis wrote: > Hello. > > If it's

Re: Camel JMS headers not updated by producer

2024-01-08 Thread Ephemeris Lappis
Hello. If it's confirmed, it means that I can't retrieve the actual resulting queue the message is sent to ? I'd need to retrieve it in some event notifiers, out of the Camel routes code, that spies all the exchanges, the same way I do for generated files retrieving the header "CamelFileNameProduc

Re: Camel JMS headers not updated by producer

2024-01-07 Thread Jeremy Ross
I think Camel only sets those headers when a JMS message is received. https://camel.apache.org/components/4.0.x/jms-component.html#_message_format_when_receiving On Thu, Jan 4, 2024 at 5:56 AM Ephemeris Lappis wrote: > Hello. > > I've observed that some JMS headers are not updated after a messa

Camel JMS headers not updated by producer

2024-01-04 Thread Ephemeris Lappis
Hello. I've observed that some JMS headers are not updated after a message is sent. For example, using this statement :

Re: Camel JMS / Set message time to live

2023-04-03 Thread Ephemeris Lappis
Hello again ! The code I've given before, setting the header "JMSExpiration" with a computed date ("now+30m", it seems that Camel takes the timestamp's long value, and not the date string, to set the sent message header) works if and only if I add "preserveMessageQos=true" to the endpoint's URI. T

Re: Camel JMS / Set message time to live

2023-04-03 Thread ski n
I think setting "JMSExpiration" from a header isn't supported. Only these four: CamelJMSDestinationName (producer) CamelJmsRequestTimeout (producer) JMSCorrelationID (producer) JMSReplyTo (producer) Don't know why, but other ones have no effect. The component does some message mapping though

Re: Camel JMS / Set message time to live

2023-04-03 Thread Ephemeris Lappis
No, I can't : we work on a Red-Hat Fuse cluster, and the brokers and the related configured components are provided by the cluster (in groups including Karaf instances), and are shared for all our business bundles and their queues. We'd want to set time to live (expiration) only for some queues, no

Re: Camel JMS / Set message time to live

2023-04-03 Thread ski n
Can you set the parameter globally like this: ActiveMQComponent activeMQComponent = new ActiveMQComponent(); activeMQComponent.setPreserveMessageQos(true); context.addComponent("activemq2",activeMQComponent); On Mon, Apr 3, 2023 at 12:27 PM Ephemeris Lappis wrote: > Hello. > > In fact I think

Re: Camel JMS / Set message time to live

2023-04-03 Thread Ephemeris Lappis
Hello. In fact I think I'd only need to set one header for expiration time. Something like that : ${date:now+30m} But it seems that for overriding the default JMSExpiration another change must be done on the endpoint (otherwise the JMSExpira

Re: Camel JMS / Set message time to live

2023-04-03 Thread ski n
I should be possible as Camel Headers are translated to JMS Headers when sending to an ActiveMQ queue or topic. This can be tricky though as sometimes JMS Headers are not set by the client but by the broker (for example JMSTimestamp), so you can't use all headers. You can check this page with the

Re: Camel JMS / Set message time to live

2023-04-02 Thread Ephemeris Lappis
Hello. Thanks for your idea. I had a look at the JMs component unit tests, but I've not found any that use only headers to set messages time to live. Could you please give us some example ? Thanks again. Regards Le ven. 31 mars 2023 à 18:34, Claus Ibsen a écrit : > > A good idea is to look at t

Re: Camel JMS / Set message time to live

2023-03-31 Thread Claus Ibsen
A good idea is to look at the unit tests in the camel components On Fri, Mar 31, 2023 at 6:27 PM Ephemeris Lappis wrote: > Hello. > > I've not found any way to set messages time to live when sending to a > JMS (activemq) queue. > > I'd like to set headers only, without changing the endpoint URI.

Camel JMS / Set message time to live

2023-03-31 Thread Ephemeris Lappis
Hello. I've not found any way to set messages time to live when sending to a JMS (activemq) queue. I'd like to set headers only, without changing the endpoint URI. Is it possible ? I've read (and tested it too) that if a message header is set for the JMSExpiration, it's not taken into account if

Re: Exchanges cannot be removed from DefaultInflightRepository when using camel-jms transferExchange=true

2021-11-23 Thread Claus Ibsen
s bad). On Wed, Nov 24, 2021 at 7:23 AM Mi Jane 米静 wrote: > > Dear community, > > We have 2 camel services: camel-A and camel-B and both of them use camel-jms > component. > > Camel-A is the JMS producer with: uri="jms:queue:queue.name?disableTimeToLive=true&tr

Exchanges cannot be removed from DefaultInflightRepository when using camel-jms transferExchange=true

2021-11-23 Thread Mi Jane 米静
Dear community, We have 2 camel services: camel-A and camel-B and both of them use camel-jms component. Camel-A is the JMS producer with: Camel-B is the JMS consumer with: After stress testing, we got camel-B OOM exception and found the memory leak root cause is DefaultInflightRepository

AW: EXT:Re: Trouble installing Camel with Camel-Activemq + Camel-JMS + Camel-AMQP in Karaf 4.2.10 and ActiveMQ 5.16.2 ...

2021-11-10 Thread Zinner, Frank Uwe Alfred
. November 2021 15:58 An: users@camel.apache.org Betreff: EXT:Re: Trouble installing Camel with Camel-Activemq + Camel-JMS + Camel-AMQP in Karaf 4.2.10 and ActiveMQ 5.16.2 ... By the way, you can use camel-JMS with ActiveMQ as camel-activemq is deprecated. Regards JB > Le 10 nov. 2021 à 15:40,

Re: Trouble installing Camel with Camel-Activemq + Camel-JMS + Camel-AMQP in Karaf 4.2.10 and ActiveMQ 5.16.2 ...

2021-11-10 Thread JB Onofré
By the way, you can use camel-JMS with ActiveMQ as camel-activemq is deprecated. Regards JB > Le 10 nov. 2021 à 15:40, JB Onofré a écrit : > > Camel jms force use of JMS 2 whereas activemq only supports jms 1. So we > have a conflict. ActiveMQ however works with JMS

Re: Trouble installing Camel with Camel-Activemq + Camel-JMS + Camel-AMQP in Karaf 4.2.10 and ActiveMQ 5.16.2 ...

2021-11-10 Thread JB Onofré
Camel jms force use of JMS 2 whereas activemq only supports jms 1. So we have a conflict. ActiveMQ however works with JMS 2 so we can override/blacklist the JMS 1 bundle. I’m in the train now but I can provide a workaround. Regards JB > Le 10 nov. 2021 à 15:34, Zinner, Frank Uwe Alf

Trouble installing Camel with Camel-Activemq + Camel-JMS + Camel-AMQP in Karaf 4.2.10 and ActiveMQ 5.16.2 ...

2021-11-10 Thread Zinner, Frank Uwe Alfred
Hello, I'm having trouble to install Apache Camel 3.7.5 with camel-activemq (3.7.5), camel-jms (3.7.5) and camel-amqp (3.7.5) in Apache Karaf 4.2.10. I used a fresh Karaf 4.2.10 Binary distribution and added ActiveMQ 5.16.2 along with Camel 3.7.5 and was able to install ActiveMQ with

RE: camel-jms long receiveTimeout preventing shutdown with Oracle AQ

2021-10-15 Thread Mattern, Alex
- From: Mattern, Alex Sent: Thursday, October 7, 2021 3:00 PM To: users@camel.apache.org Subject: [EXTERNAL SENDER:] RE: camel-jms long receiveTimeout preventing shutdown with Oracle AQ Claus Isben, The reason for wanting a long receive timeout is to prevent the queue server from having

RE: camel-jms long receiveTimeout preventing shutdown with Oracle AQ

2021-10-07 Thread Mattern, Alex
Mattern -Original Message- From: Claus Ibsen Sent: Thursday, October 7, 2021 10:24 AM To: users@camel.apache.org Subject: [EXTERNAL SENDER:] Re: camel-jms long receiveTimeout preventing shutdown with Oracle AQ Hi Do NOT use such a long receive timeout, that is not its purpose. The

Re: camel-jms long receiveTimeout preventing shutdown with Oracle AQ

2021-10-07 Thread Claus Ibsen
Hi Do NOT use such a long receive timeout, that is not its purpose. The timeout should be a reasonable value that allows camel-jms (eg spring jms) to react on shutdown or stopping, or reducing concurrent consumers if there are no more pending messages. On Thu, Oct 7, 2021 at 3:05 PM Mattern

camel-jms long receiveTimeout preventing shutdown with Oracle AQ

2021-10-07 Thread Mattern, Alex
I would like Apache Camel to perform a graceful shutdown within the default 45 seconds. After 45 seconds I would like the the shutdown to be forced. I normally expect the default 45 second timeout to work, but unfortunately it does not seem to work when using a JMS component with a long receiveT

Re: Connecting to IBM MQ Cloud using camel JMS component

2020-05-15 Thread Reji Mathews
quot;: 20, > "XMSC_WMQ_RECEIVE_EXIT": null, > "XMSC_RTT_DIRECT_AUTH": 0, > "XMSC_WMQ_TEMP_TOPIC_PREFIX": "", > "multicast": 0, > "XMSC_WMQ_PROVIDER_VERSION": "unspecified

Re: Connecting to IBM MQ Cloud using camel JMS component

2020-05-15 Thread Reji Mathews
ot;XMSC_ADMIN_OBJECT_TYPE": 20, "XMSC_WMQ_RECEIVE_EXIT": null, "XMSC_RTT_DIRECT_AUTH": 0, "XMSC_WMQ_TEMP_TOPIC_PREFIX": "", "multicast": 0, "XMSC_WMQ_PROVIDER_VERSION": "unspecified", "XMSC_WMQ_SEND_EXIT"

Re: Connecting to IBM MQ Cloud using camel JMS component

2020-05-15 Thread Reji Mathews
Oh i see what you mean! Indeed, I need to establish a jms connection. I decided to use camel-jms component. Referred this official ibm git example here -> https://github.com/ibm-messaging/mq-cloud-demo/blob/master/aws-backend-request/JMSLambdaFunction/src/main/java/com/example/lambda/ib

Re: Connecting to IBM MQ Cloud using camel JMS component

2020-05-14 Thread Jean-Baptiste Onofre
nFactory"> > > > > > > > And you provide this connection factory to the camel-jms endpoint (using ?connectionFactory=#wmqConnectionFactory). If you want to use directly MQ "native" channel, you can use camel-wmq component (in camel-extra). Regards JB > Le 14 ma

Connecting to IBM MQ Cloud using camel JMS component

2020-05-14 Thread Reji Mathews
Hello community Has anyone tried connecting to IBM Cloud MQ via camel jms component? I see it needs an implementation of javax.jms.ConnectionFactory. One of the implementations provided of above interface by IBM is com.ibm.mq.jms.MQConnectionFactory. The MQ cloud provides following information

camel-jms: allowAutoWiredConnectionFactory does not work with Camel 3

2020-02-03 Thread Simo Kivimäki
emains null and startup fails. My work-around is to define connectionFactory parameter manually using camel-jms-starter's camel.component.jms.connection-factory parameter. That works fine. Any thoughts about this, is it a bug? The issue might be related or introduced by CAMEL-14190. Regards, Simo Kivimäki

Re: Messages with byte[] bodies are sent as "large messages" to Artemis via camel-jms and cause ConsumerTemplate exception

2020-01-13 Thread Claus Ibsen
essage.setObjectProperty(ActiveMQMessage.java:693) > ~[artemis-jms-client-2.6.2.jar:2.6.2] > at > org.apache.camel.component.jms.JmsBinding.createByteArrayFromBytesMessage(JmsBinding.java:251) > ~[camel-jms-2.22.1.jar:2.22.1] > at > org.apache.camel.component.jms.JmsBinding.extractBodyFromJms(JmsB

Messages with byte[] bodies are sent as "large messages" to Artemis via camel-jms and cause ConsumerTemplate exception

2020-01-13 Thread Florian Patzl
6.2.jar:2.6.2] at org.apache.camel.component.jms.JmsBinding.createByteArrayFromBytesMessage(JmsBinding.java:251) ~[camel-jms-2.22.1.jar:2.22.1] at org.apache.camel.component.jms.JmsBinding.extractBodyFromJms(JmsBinding.java:163) ~[camel-jms-2.22.1.jar:2.22.1] ... 21 more The pr

Re: Definition of subscriptionname in Camel JMS-Endpoint does not work as expected

2019-08-15 Thread Benjamin Graf
ctual master. I think a > backport to 2.x branch shouldn't be that hard. > > Regards > Benjamin  > > Gesendet: Dienstag, 13. August 2019 um 15:57 Uhr > Von: "Claus Ibsen" > An: users@camel.apache.org > Betreff: Re: Re: Definition of subscriptionname in Came

Aw: Re: Re: Definition of subscriptionname in Camel JMS-Endpoint does not work as expected

2019-08-13 Thread Benjamin Graf
: Definition of subscriptionname in Camel JMS-Endpoint does not work as expected On Tue, Aug 13, 2019 at 2:50 PM Benjamin Graf wrote: > > Hi, > > yes it seems non-durable shared subscription are not implemented correctly. > Subscription name should be set for non-durable as well. >

Re: Re: Definition of subscriptionname in Camel JMS-Endpoint does not work as expected

2019-08-13 Thread Claus Ibsen
ix this > Regards > Benjamin > > > Gesendet: Dienstag, 13. August 2019 um 11:57 Uhr > Von: "Claus Ibsen" > An: users@camel.apache.org > Betreff: Re: Definition of subscriptionname in Camel JMS-Endpoint does not > work as expected > Hi > > Shared subsc

Aw: Re: Definition of subscriptionname in Camel JMS-Endpoint does not work as expected

2019-08-13 Thread Benjamin Graf
inition of subscriptionname in Camel JMS-Endpoint does not work as expected Hi Shared subscription is something new in JMS 2.0. So it may be a bug or not, I can't recall on top of my head. I suggest you spend a bit time research and come back and tell us. On Tue, Aug 13, 2019 at 11:46 AM wrote: > >

Re: Definition of subscriptionname in Camel JMS-Endpoint does not work as expected

2019-08-13 Thread Claus Ibsen
Hi Shared subscription is something new in JMS 2.0. So it may be a bug or not, I can't recall on top of my head. I suggest you spend a bit time research and come back and tell us. On Tue, Aug 13, 2019 at 11:46 AM wrote: > > Dear Camel guys and girls, > > > I have a question regarding the propert

Definition of subscriptionname in Camel JMS-Endpoint does not work as expected

2019-08-13 Thread Daniel.Novak
Dear Camel guys and girls, I have a question regarding the property "subscriptionName" which can be specified for a JMS-Consumer. First, here is my project setup: * Camel 2.24.1 * Spring-Boot: 2.1.0.RELEASE I create a simple standalone JAR which just should consume from defined JMS-Q

camel-jms: how to set TLS parameters for network connector in Spring Boot and Java

2019-07-23 Thread Marx, Peter
, this seems not being supported by camel-jms. CiA lists some components, but not camel-jms Spring Boot docs do not mention parameters related to activemq and TLS. So what is the right way to set the TLS parameters, ideally externalized via application.properties ? Peter

Transaction not get commited from Camel JMS Route Call

2019-01-15 Thread cleophus p
Hi, I am learning and observed the transaction are not getting committed in oracle database. I am using Apace Camel 2.16.0 with Spring Boot I have following code. It doesnt camit and doesnt throw any error. It shows in logs it has executed end to end successfully. But when i see in databa

Re: AW: Camel JMS transferExchange=true Exception

2018-01-15 Thread Andrea Cosentino
The official documentation now is in the Camel repo. As you may see from the link posted by Claus https://github.com/apache/camel/blob/master/components/camel-jms/src/main/docs/jms-component.adoc We are in the process of migrating the whole documentation in .adoc and the site is no longer

AW: Camel JMS transferExchange=true Exception

2018-01-15 Thread Leber, Thomas
us.ib...@gmail.com] Gesendet: Montag, 15. Jänner 2018 10:56 An: users@camel.apache.org Betreff: Re: Camel JMS transferExchange=true Exception Hi Its an Apache ActiveMQ setting (not Camel specific) that do not allow java serialized objects by default, and you need to configure it with the app

Re: Camel JMS transferExchange=true Exception

2018-01-15 Thread Claus Ibsen
://github.com/apache/camel/blob/master/components/camel-jms/src/main/docs/jms-component.adoc And how to contribute to Camel is here http://camel.apache.org/contributing On Mon, Jan 15, 2018 at 10:34 AM, Leber, Thomas wrote: > Hi, > > I'm sending in an onException clause the exchange to

Camel JMS transferExchange=true Exception

2018-01-15 Thread Leber, Thomas
Hi, I'm sending in an onException clause the exchange to another camel route via JMS. In order to handle the error, the idea was to use transferExchange=true, since the documentations states the exchange exception is transferred as well. Unfortunately I get this error in the JMS listener: -

Re: Camel JMS Logging question

2017-12-19 Thread Claus Ibsen
Hi I think you can configure a custom errorHandler on the JMS endpoint / component and there you can log only what you want. See details at https://github.com/apache/camel/blob/master/components/camel-jms/src/main/docs/jms-component.adoc On Tue, Dec 19, 2017 at 6:54 PM, Кристина Солдатко wrote

Camel JMS Logging question

2017-12-19 Thread Кристина Солдатко
Hi. My service use MQ and receives some data from it. When connection to MQ is broken - I can see in logs following situation: error report is logged as multiple line text like: December 19, 2017 5:32:47 PM UTC[Camel (camel-1) thread #0 - JmsConsumer[ROUTER]] com.ibm.msg.client.jms.internal.JmsPro

Re: Help needed: how to use Camel JMS Client Acknowledge mode for queue consumption

2017-09-03 Thread Claus Ibsen
essage processor bean, it's removed from > the queue. > > Please let me know what I need to change. I tried searching for client > acknowledge mode sample code, but couldn't find much info. Any thoughts or > sample code will be greatly appreciated! > > > > -- >

Re: Help needed: how to use Camel JMS Client Acknowledge mode for queue consumption

2017-08-24 Thread lye
Camel Friends, any thoughts? Any help will be greatly appreciated! -- View this message in context: http://camel.465427.n5.nabble.com/Help-needed-how-to-use-Camel-JMS-Client-Acknowledge-mode-for-queue-consumption-tp5812049p5812112.html Sent from the Camel - Users mailing list archive at

Help needed: how to use Camel JMS Client Acknowledge mode for queue consumption

2017-08-24 Thread lye
ext: http://camel.465427.n5.nabble.com/Help-needed-how-to-use-Camel-JMS-Client-Acknowledge-mode-for-queue-consumption-tp5812049.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel JMS producers not recovering from WMQ restart or network issue

2016-12-12 Thread Fernando Giorgetti
nothing works for me. Do you guys have any idea on suggestion to bypass this situation? Thanks, Fernando. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-producers-not-recovering-from-WMQ-restart-or-network-issue-tp5791385.html Sent from the Camel - Users mailing

Camel JMS XA Client

2016-12-04 Thread dpravin
(ThreadPoolExecutor.java:617)[:1.8.0_25] at java.lang.Thread.run(Thread.java:745)[:1.8.0_25] Appreciate any help to resolve this issue. Thanks, Pravin -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-XA-Client-tp5790967.html Sent from the Camel - Users mailing

Re: camel-jms

2016-12-01 Thread sa_james
See this link <http://camel.465427.n5.nabble.com/stand-alone-problem-tp5790885.html> for how my problem was solved. BAsically, use /main.run()/ instead of /main.start()/ -- View this message in context: http://camel.465427.n5.nabble.com/camel-jms-tp5790832p5790898.html Sent from the

Re: camel-jms

2016-12-01 Thread sa_james
Funnily enough, when I swap the activeMQConnectionFactory with websphereConnectionFactory, spring does the reconnect. I might be missing something. -- View this message in context: http://camel.465427.n5.nabble.com/camel-jms-tp5790832p5790895.html Sent from the Camel - Users mailing list

Re: camel-jms

2016-12-01 Thread sa_james
Id did the testing with Spring trying to reconnect to a Websphere and I did configured the factory as follows: Sadly it does not reconnect. What I am missing? Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/camel-jms-tp5790832p5790875

Re: camel-jms

2016-12-01 Thread Claus Ibsen
setting this up. So both camel-jms and camel-sjms can do reconnect if you configure it correctly with your JMS client / connection pool. On Wed, Nov 30, 2016 at 9:19 PM, Quinn Stevenson wrote: > You’re not missing anything - that’s the way the camel-jms and camel-sjms > components work. They

Re: camel-jms

2016-11-30 Thread sa_james
I did not know that. I will test it. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/camel-jms-tp5790832p5790844.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-jms

2016-11-30 Thread Quinn Stevenson
You’re not missing anything - that’s the way the camel-jms and camel-sjms components work. They get a connection from the connection factory when they startup, and the keep using it. You can configure the Camel route to handle some JMS Exceptions and sometimes get the reconnect to work that

Re: camel-jms

2016-11-30 Thread sa_james
gone. Am I missing something? -- View this message in context: http://camel.465427.n5.nabble.com/camel-jms-tp5790832p5790836.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-jms

2016-11-30 Thread Quinn Stevenson
If you’re using ActiveMQ, use a failover URL ( http://activemq.apache.org/how-do-i-configure-automatic-reconnection.html <http://activemq.apache.org/how-do-i-configure-automatic-reconnection.html> ) and both camel-jms and camel-sjms will reconnect. > On Nov 30, 2016, at 11:38 AM,

camel-jms

2016-11-30 Thread sa_james
Camel noob needs some help. It seems SJMS does not do reconnect. Now I am looking at camel-jms and it seems camel-jms does not batch. Any other alternatives out there? Regards -- View this message in context: http://camel.465427.n5.nabble.com/camel-jms-tp5790832.html Sent from the Camel

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.

Re: Camel JMS Properties.

2016-09-15 Thread Minh Tran
> > On the JMS Server Side (onMessage): >TextMessage txtMsg = (TextMessage)message; > txtMsg.getStringProperty("PropertyName"); > > The /inString/ is in the JMS Text Message body . but the > /txtMsg.getStringProperty("PropertyName") == null/; >

Camel JMS Properties.

2016-09-15 Thread chandler
PropertyName"); The /inString/ is in the JMS Text Message body . but the /txtMsg.getStringProperty("PropertyName") == null/; Any Ideas? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-Properties-tp5787616.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel jms: setting specific MQ headers

2016-09-09 Thread sobha
Hi, We are struggling to put a JMS header for MessageID so that the downstream application can access it as MQMD header. The downstream application is expecting this. Pls help -- View this message in context: http://camel.465427.n5.nabble.com/camel-jms-setting-specific-MQ-headers

camel JMS component client connects to Weblogic queue. Fuse restart requires whenever Web logic bounced.

2016-09-07 Thread bharadwaj
Hi, camel JMS component client connects to Weblogic queue. Fuse restart requires whenever Web logic bounced. Jms pulls mgs from wbelogic server. Whenever weblogic bounced , JMS retry every 5000 ms but it never connected automatically when weblogic is up. we need to restart Fuse every-time

Re: possible camel-jms regression in 2.17.2

2016-08-11 Thread Preben.Asmussen
Yeah - it's also present on 2.17.3 I created https://issues.apache.org/jira/browse/CAMEL-10237 /Preben -- View this message in context: http://camel.465427.n5.nabble.com/possible-camel-jms-regression-in-2-17-2-tp5786290p5786306.html Sent from the Camel - Users mailing list archi

Re: possible camel-jms regression in 2.17.2

2016-08-11 Thread Claus Ibsen
> > -- > View this message in context: > http://camel.465427.n5.nabble.com/possible-camel-jms-regression-in-2-17-2-tp5786290p5786294.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in

Re: possible camel-jms regression in 2.17.2

2016-08-11 Thread Preben.Asmussen
lol - localized error messages is an $$ enterprice feature. And Oracle is kind of a sticky pease of junk. -- View this message in context: http://camel.465427.n5.nabble.com/possible-camel-jms-regression-in-2-17-2-tp5786290p5786294.html Sent from the Camel - Users mailing list archive at

Re: possible camel-jms regression in 2.17.2

2016-08-11 Thread Claus Ibsen
Hi Yeah your American Oracle has been too long in Denmark and learned to talk Danish. Its visa is overdue please return it back. On Thu, Aug 11, 2016 at 8:41 AM, Preben.Asmussen wrote: > Hi > > I just tried to upgrade camel-jms from 2.17.1 to 2.17.2 and got jms errors > due

possible camel-jms regression in 2.17.2

2016-08-10 Thread Preben.Asmussen
Hi I just tried to upgrade camel-jms from 2.17.1 to 2.17.2 and got jms errors due to Oracle AQ regards JMSX*** properties as read only. As I re call there were som special handling regarding exchange header copying this in 2.xx. due to this fact. I think the change was introduced in https

Message consumption stuck from activemq using camel jms component

2016-06-22 Thread kuntalc-techid
k-from-activemq-using-camel-jms-component-tp5784312.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel jms - Custom Message ID

2016-05-19 Thread Timothy Bish
. On May 19, 2016, at 4:07 AM, Adarsh_GU wrote: Hi Guys, Is there is any option to override *JMS message id * gernerated by camel,while using camel jms component? I have simple route pushes data to queue testQueue / / and saw message id from active mq console as follows

Re: Camel jms - Custom Message ID

2016-05-19 Thread Quinn Stevenson
ote: > > Hi Guys, > Is there is any option to override *JMS message id * gernerated by > camel,while using camel jms component? > > I have simple route pushes data to queue testQueue > > / > > > / > > and saw message id from acti

Re: Camel jms - In Out Pattern

2016-05-19 Thread Adarsh_GU
working. for each request it is picking up response from response queue (if response with matching corelation id exists). But didnt understand why request-reply didnt with above response polling route :) -- View this message in context: http://camel.465427.n5.nabble.com/Camel-jms-In-Out-Pattern

Camel jms - Custom Message ID

2016-05-19 Thread Adarsh_GU
Hi Guys, Is there is any option to override *JMS message id * gernerated by camel,while using camel jms component? I have simple route pushes data to queue testQueue / / and saw message id from active mq console as follows /*Message ID* ID:ICB1864-53042-1463651730680-1:1

Re: Camel jms - In Out Pattern

2016-05-18 Thread Quinn Stevenson
It looks like the other system isn’t setting the JMSCorrelationID, so the route is timing-out waiting for a response with that correlation ID. Have you tried setting replyToType=Exclusive? You can see the details in the camel-jms docs (http://camel.apache.org/jms.html <http://camel.apache.

RE: Camel jms Request reply -scenario with separate queues for request and response

2016-05-18 Thread Steve Huston
> I have 2 queues provided by third party provider 1.request queue, 2.reply > queue > > using camel jms i will send request to request queue, so third party provider > will push respective response to response queue. Ok. > I would to make these calls synchronous. so for eac

Camel jms Request reply -scenario with separate queues for request and response

2016-05-18 Thread Adarsh_GU
Hi Guys, I have 2 queues provided by third party provider 1.request queue, 2.reply queue using camel jms i will send request to request queue, so third party provider will push respective response to response queue. I would to make these calls synchronous. so for each request send to request

Re: Camel jms - In Out Pattern

2016-05-18 Thread Adarsh_GU
eue provided by third party provider. > > > uri="jms:queue:requestQuee?replyTo=queue:*responseQueue*&exchangePattern=InOut" > > /> >/ -- View this message in context: http://camel.465427.

Re: Camel jms - In Out Pattern

2016-05-18 Thread Henryk Konsek
sponseQueue. > Exchange[ID-ICB1864-58611-1463553066644-3-8][Message: > > *If i remove inout pattern.message is en queued to requestQuee and after > dequeed by mockresponse route ,eventually MockResponseGenerator prepares > mock response and enqueued to responseQueue.* > > Please updat

Camel jms - In Out Pattern

2016-05-18 Thread Adarsh_GU
44-3-9 not received on destination: queue://responseQueue. Exchange[ID-ICB1864-58611-1463553066644-3-8][Message: http://camel.465427.n5.nabble.com/Camel-jms-In-Out-Pattern-tp5782730.html Sent from the Camel - Users mailing list archive at Nabble.com.

  1   2   3   4   >