Questions tagged [camel-jms]

36 questions
1
vote
2 answers

Apache camel graceful route shutdown

I have a Camel route which Consumes messages from a Queue and stores the message into a Database. Now I wanted to shut down running camel route manually in a graceful manner. I have a RestEndpoint to be triggered whenever I need to stop Camel route.…
Ramden
  • 87
  • 2
  • 10
1
vote
1 answer

Camel Route is running infinitely to move JMS message

I am trying to move the message from a queue1(Dead Letter queue) to queue2 in active MQ at periodic interval of 5 minutes using Camel router. I am using below code to achieve this :- public class MessageRouteBuilder extends RouteBuilder { …
Neer1009
  • 304
  • 1
  • 5
  • 18
0
votes
1 answer

Exception when creating Spring Context with JMS Service references

We have a Swing UI client which uses an Appclient which sets up a Spring framework context with CAMEL beans for talking to remote services in an OSGi server via JMS. Here's an example of one of the service references:
DuncanKinnear
  • 4,563
  • 2
  • 34
  • 65
0
votes
1 answer

Why are Solace messages hanging on the server on restart after Camel 3 upgrade?

On upgrading to Camel 3.3 we came accorss an issue while testing. So, if we restart our camel application while there are multiple messages in the queue for some reason a few messages are getting stuck in an "unacknowledged" state on the solace…
0
votes
1 answer

How to set the JMSCorrelationID and correlate with JMSMessageID with a Camel client and a IBMMQ broker

I have a Camel client using the JMS Component to connect with IBMMQ. I need to Send a JMSCorrelationID with a fixed value. Correlate the Reply message by JMSMessageID. My configuration is: .setHeader("CamelJmsDestinationName",…
user2209562
  • 244
  • 2
  • 16
0
votes
2 answers

ActiveMQ embedded bridge to Camel JMS bridge

I have an old application which handle JMS messages with ActiveMQ 5.8.0 and some JNDI remote topic connected to this ActiveMQ. I have a connector like that :
user2178964
  • 124
  • 6
  • 16
  • 40
0
votes
1 answer

How to setup transaction in Camel JMS Route

How do I setup transaction in JMS route to rollback or not consume a message when an exception occurs. Below is my route. MQ is ActiveMQ. from("jms:queue:myQueue") .routeId("myRoute") .doTry() …
user3549576
  • 99
  • 1
  • 4
  • 17
0
votes
1 answer

JMS component's bridge error handler not working

As per apache camel's documentation, JMS component supports bridging with camel error handlers, but while executing I am getting "BridgeErrorHandler is not support on JMS endpoint". I checked their source code and found while creating jms consumers,…
Raju Parashar
  • 312
  • 4
  • 17
0
votes
0 answers

Issue in publishing IBM MQ JMS Headers after migrating to Camel 3

I am using soap service configured using camel-cxf. The messages are sent into IBM MQ. I get the below exception from the JMS consumer application when it trys to put the response into the reply queue. The below exception is seen only after…
0
votes
1 answer

Polling byte / large messages from ActiveMQ Artemis using Apache Camel ConsumerTemplate

I'm struggling with a problem in an application based on Apache Camel when connecting to ActiveMQ Artemis via JMS. At the end of one of the Camel routes, messages are stored in an Artemis JMS queue. A legacy component running in the same application…
Florian Patzl
  • 174
  • 1
  • 13
0
votes
1 answer

Apache Artemis no clientId is showing in consumer section of management-console.UI

I am using Apache Artemis broker and Apache camel JMS component as i am using Apache camel JMS component so here, i am listening the topic from(jms:topic:my_topic?durableSubscriptionName=dsn&clientId=testId) .log("......>") Here i…
Bhushan Uniyal
  • 5,575
  • 2
  • 22
  • 45
0
votes
0 answers

Camel-JMS hangs every time the linked JMS weblogic server is restarted

Below is what I am trying to achieve: Pick a file from source directory. Copy that file into a destination directory. Post a message onto a weblogic queue from where a different application picks the file name and processes it from the …
0
votes
0 answers

JMS1.x subscribers/clients in a Websphere clustered environment picking the same TOPIC

Multiple instances of my subscriber/client application are running in a clustered environment and all of them start picking up the same TOPIC. Is there a way to restrict the subscribers to stop picking the TOPIC which has already been picked by some…
user3007165
  • 459
  • 1
  • 5
  • 14
0
votes
1 answer

How does JMS read multiple files on a queue

The application that I am working on listens to a queue. This queue receives multiple files(Buy/Sell order) from upstream. I am new to this application and trying to underatnsd how multiple files are process. We are using camel to listen to the…
tech_questions
  • 263
  • 5
  • 14
0
votes
1 answer

How to enable transaction with activemq camel component

While consuming message from JMS queue I wish to decide whether consuming process is success or fail, In case of failure I wish that activemq redeliver the message again after some time like 1 minute. Later on based on delivery count I may send it…
anna
  • 265
  • 1
  • 3
  • 17