Re: Camel JMS Properties.

2016-09-15 Thread Minh Tran
Hi You’re getting confused between JMS properties and Camel properties. They are two different concepts which happen to have the same name. If you set the camel message header before you publish the JMS message, it will automatically add that header as a JMS property with the same name. I

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 =

Re: JMS Component configurations

2016-09-15 Thread dpravin
All, I tried following approach, however not sure if this is the right solution. I extended a class from JmsComponent. Instantiating this bean in my blueprint file and passing a pid to load the property file at runtime. Constructing following objects in the custom JmsComponent that are required

Re: JMS Component configurations

2016-09-15 Thread dpravin
Thank you all for your responses. Appreciate if you could elaborate. Any examples will be helpfull. -- View this message in context: http://camel.465427.n5.nabble.com/JMS-Component-configurations-tp5787499p5787614.html Sent from the Camel - Users mailing list archive at Nabble.com.

(Consumer goes into loop while processing messages) DEBUG Cannot auto-commit offsets now since the coordinator is unknown

2016-09-15 Thread smadhav
I have a topic which have 300 messages in the queue. When the camel is used for processing the messages with event-based consumer, I am getting following error after all the messages are processed. Following the error, it then starts from the beginning and processes the entire queue again causing

Re: Fuse Blueprint properties override

2016-09-15 Thread Brad Johnson
Oops. That should read: "Commonly then I can keep a standard file called configuration.cfg in the filtered-resources..." Of course you can call it anything you like, the point is just that if it is always the same name the features install becomes much easier especially when tired or harried

Re: Fuse Blueprint properties override

2016-09-15 Thread Brad Johnson
Owain, Cool. If you made that header change I think you'll see what you are after. Incidentally I'll commonly use the groupId and artifactId as my PID name. Commonly then I can keep a standard file called config.cfg in the filtered-resources of the project and in the features file have it

Re: Camel route stops consuming from RabbitMQ queue

2016-09-15 Thread souciance
Everything looks ok, can you share your route? On Thu, Sep 15, 2016 at 12:05 PM, stefanmeisner [via Camel] < ml-node+s465427n5787594...@n5.nabble.com> wrote: > > Connection factory: > > > > > > > -- > If you reply to this email, your message will be

Re: camel seda queue log

2016-09-15 Thread Brad Johnson
Akram, The fact that you are tokenizing to a String may make the shallow copy vs deep copy less of a concern since String is immutable. Normally. But if the Exchange itself is being shared and modifications to String resulting in a new String and are shared via the Exchange then it is critical.

Re: Merging Swagger definitions into one

2016-09-15 Thread Matt Pavlovich
That feels like it would need to be a component-specific feature vs Camel-wide. I know CXF provides an API listing, but I think it would be out-of-scope for Camel to own that w/ all the various technologies and components. Seems like an easy enough servlet to write.. look up local definitions

Re: Unmarshal fixed length Binary data

2016-09-15 Thread DariusX
You write a class need to implement the DataFormat interface. The two key calls are: marshal() and unmarshal() See here: http://camel.apache.org/data-format.html Looking at the code for some of the existing implementations of DataFormat should give you some ideas. For instance, you might come up

Re: Merging Swagger definitions into one

2016-09-15 Thread Claus Ibsen
On Thu, Sep 15, 2016 at 1:52 PM, Raul Kripalani wrote: > Hi, > > We have several Camel contexts using the REST DSL and exposing Swagger > definitions. > > Unfortunately, each context is exposing its own and we don't have a unified > view of all API endpoints. > > I am aware

Merging Swagger definitions into one

2016-09-15 Thread Raul Kripalani
Hi, We have several Camel contexts using the REST DSL and exposing Swagger definitions. Unfortunately, each context is exposing its own and we don't have a unified view of all API endpoints. I am aware about the API Context Listing feature, but it's not what I'm after at the moment. Do we

Re: Camel route stops consuming from RabbitMQ queue

2016-09-15 Thread stefanmeisner
Connection factory: -- View this message in context: http://camel.465427.n5.nabble.com/Camel-route-stops-consuming-from-RabbitMQ-queue-tp5787591p5787594.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Unmarshal fixed length Binary data

2016-09-15 Thread kaustubhkane
Could someone please guide me on creating a custom DataFormat. Please refer to details in my previous post above. -- View this message in context: http://camel.465427.n5.nabble.com/Unmarshal-fixed-length-Binary-data-tp5787125p5787592.html Sent from the Camel - Users mailing list archive at

Re: Camel route stops consuming from RabbitMQ queue

2016-09-15 Thread souciance
How does your connectionFactory look? On Thu, Sep 15, 2016 at 11:34 AM, stefanmeisner [via Camel] < ml-node+s465427n5787591...@n5.nabble.com> wrote: > My platform is Karaf 4.0.4 and Camel 2.17.3 and RabbitMQ 3.6.2 > > I have a queue with > 1 messages on it. When I start Karaf with my > route

Camel route stops consuming from RabbitMQ queue

2016-09-15 Thread stefanmeisner
My platform is Karaf 4.0.4 and Camel 2.17.3 and RabbitMQ 3.6.2 I have a queue with > 1 messages on it. When I start Karaf with my route deployed in, it starts processing messages: Validation and WS call using cxf, and response sent to a response exchange. My problem is, that the route stops

Re: Fuse Blueprint properties override

2016-09-15 Thread owain
Thanks for the two responses. The blog post is very comprehensive. I have updated blueprint-cm-1.1.0 and have added the update strategy to reload. Yes the persistent-id does not have cfg on the end, just the filename. (also the persistent id cannot have a - in it ends up being a Java method

Re: camel seda queue log

2016-09-15 Thread Claus Ibsen
Yes the multicast does a shallow copy so its the same reference. You can use onPrepareRef where you can write some code that performs a deep copy of the message. http://camel.apache.org/multicast On Wed, Sep 14, 2016 at 11:31 PM, Akram wrote: > I have tried using default