Questions tagged [camel-jms]

36 questions
0
votes
2 answers

How do I set a component parameter of type object to a route using Java DSL?

My objective is to use Camel along with its JMS component. The route config looks like below- from("jms:queue:test").to(mybean) I would like to add the option of kind 'parameter' and type 'object' to this route -for example the option…
NishM
  • 1,706
  • 2
  • 15
  • 26
0
votes
1 answer

Camel jms route to IBM MQ immediately shuts down after successful test connection

I have used Camel a few times now but this problem is over my head and I have no clue what I'm doing wrong. It is a new application that should fetch messages from IBM MQ and place files to disk. The route is very simple: String fromString =…
0
votes
0 answers

Object could not transfer in camel JMS queue

I have to unmarshall xml and send the object to cxf component. Intially I have been doing this using 'vm' queue and it was working fine. Now I want to replace it with 'jms' queue, while doing this the object cannot transfer in to jms queue. I am not…
Hari
  • 97
  • 1
  • 14
0
votes
0 answers

Error handling in camel with multiple RouteBuilder

I'm trying to handle exceptions on my camel route that is composed of 3 RouteBuilder. The main route (that call the others) is triggered by jms queue, and I want to handle all the exceptions on this first route. Main Route: …
0
votes
1 answer

Setup independent ActiveMQ broker in camel blueprint xml

I am setting up a ServieMix instance using apache-camel as the routing engine, with my routes defined in a blueprint.xml. I am trying to configure ActiveMQ for my blueprint to be completely isolated from anything else (use its own, private,…
Tezra
  • 8,463
  • 3
  • 31
  • 68
-1
votes
2 answers

Read only no of messages from Queue using camel?

I am able to read the messages from activemq using camel context[xml], but i could like to read only no of the messages, for example if queue contains 10 000 messages, we want to read only first 1 000 messages, remaining shouldn't be touched. I am…
1 2
3