Questions on deploying camel in equinox OSGI

2015-07-07 Thread Rogerkoh
Hi,     I am currently looking into deploying apache camel into eclipse equinox  OSGI environment using declarative method.    Btw, I am very new to apache camel and as well as OSGI.      In my work environment, I cannot connect to internet to set up the OSGI environment. Hence,      I will avoid

Re: Need help in running camel in raspberry pi

2015-07-07 Thread Henryk Konsek
Hi Parul, The LWM2M branch of Kura is known to be currently broken as far as I know. Can you try to deploy the regular Kura distribution? Cheers! pon., 6.07.2015 o 08:23 użytkownik Parul Agrawal napisał: > > Hi, > > I am trying to run Camel as OSgi bundle in Kura with raspberry as the > target

Re: Need help in running camel in raspberry pi

2015-07-07 Thread Christian Müller
Hi Parul, please use the users mailing list for such kind of questions. Can you share your MANIFEST.MF file with us? Or the complete project? Maybe your OSGI metadata are not correct... Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache

HELP camel-sql and jpa problem

2015-07-07 Thread Pratt, Jason
Hello - I just started seeing this in my logs and haven't seen it happening before. I am running: Karaf-3.0.4 Camel-2.15.2 I am at a loss for what could be causing this. Its basically stopping during a run after writing some items to the database, but dropping most of the balance. Message Hi

Re: How to instanciate a bean in camel registry for use with @produce annotation

2015-07-07 Thread Claus Ibsen
You can implement the IsSingleton interface on your bean On Mon, Jul 6, 2015 at 3:50 PM, Benjamin Legendre wrote: >> If you refer to the bean just by the classname, then Camel creates an >> instance and does the IoC (eg also @Produce) etc. > > Is there a way to set a bean in the registry and tell

Re: Evaluate JSON using Rhino 1.6R7?

2015-07-07 Thread sekaijin
I do not understand. What the "eval" whether js or java to evaluate a "JSON" must be used JSON.parse () -- View this message in context: http://camel.465427.n5.nabble.com/Evaluate-JSON-using-Rhino-1-6R7-tp5768944p5768945.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Evaluate JSON using Rhino 1.6R7?

2015-07-07 Thread rory
Hi, thanks for your reply. However, as stated in my question, JSON.parse is not implemented in Rhino 1.6R7, thus eval is used. -- View this message in context: http://camel.465427.n5.nabble.com/Evaluate-JSON-using-Rhino-1-6R7-tp5768944p5768946.html Sent from the Camel - Users mailing list archi

Re: camel groovy error.

2015-07-07 Thread tesla
Hi Claus, Thanks for the answer. Hard thing with this error is that it is not possible to reproduce it.If I restart camel,the problem disappears for a while,like one day. I will try the release upgrade for camel and groovy.But since this code is in production I need to find a quicker way. -- Vie

Evaluate JSON using Rhino 1.6R7?

2015-07-07 Thread rory
I'm using Rhino (https://github.com/mozilla/rhino) 1.67R via Apache Camel and am trying to evaluate the following JSON: { "coord": { "lon": -4.75, "lat": 54.08 }, "weather": [ { "id": 801, "main": "Clouds", "description": "few clouds", "icon": "02d" }

Re: MDC logging does not work with camel.routeId anymore

2015-07-07 Thread rwijngaa
I use camel 2.15 (Fuse 6.2) so this issue should be solved already i think Rino -- View this message in context: http://camel.465427.n5.nabble.com/MDC-logging-does-not-work-with-camel-routeId-anymore-tp5768851p5768941.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: MDC logging does not work with camel.routeId anymore

2015-07-07 Thread Alexey Markevich
Hi, Maybe [1] the reason? 1. https://issues.apache.org/jira/browse/CAMEL-7795 On Tue, 07 Jul 2015 12:41:05 +0300, rwijngaa wrote: Hi Claus, The problem has to do with the onCompletion processor we use (and indeed, maybe also with the osgi pax logging) In the logging i see one line with

Re: MDC logging does not work with camel.routeId anymore

2015-07-07 Thread rwijngaa
Hi Claus, The problem has to do with the onCompletion processor we use (and indeed, maybe also with the osgi pax logging) In the logging i see one line with the routeid and one line without the routeid. I can reproduce it with the blueprint route, logging config and java class @ fuse 6.2 inclu

Re: camel groovy error.

2015-07-07 Thread Claus Ibsen
Hi Can you try with latest release of Camel, and maybe newer Groovy? I wonder if groovy somehow causes java reflection to "see" some additional methods. And maybe there is a way to filter out these duplicates? But trying with latest code first is needed - as we have fixed/improve camel since that

Re: Message exchange has failed: Parallel processing failed for number 1 for exchange

2015-07-07 Thread rameshmallipudi
Hi All, I am giving more details here. I am using below code in route to get the responses back from the two end points. .recipientList(header("routesToHit").tokenize(",")) One end point has thrown the fatal error, we are handling this with some default response which i can see while debugging.

camel groovy error.

2015-07-07 Thread tesla
Hi I am facing a strange problem. I have some groovy code like that: import org.apache.camel.model.language.JsonPathExpression; import org.apache.camel.impl.DefaultExchange; String endUserId = new JsonPathExpression("\$.amountTransaction.endUserId").evaluate((DefaultExchange) exchange,String.clas

Re: Consuming messages in camel cdi

2015-07-07 Thread Charlie Mordant
Hi Claus, Issue filled: https://issues.apache.org/jira/browse/CAMEL-8938 Best regards 2015-07-07 9:18 GMT+02:00 Claus Ibsen : > Hi > > Thanks for the sample code. I suspect we need to enh camel-cdi to scan > for any managed beans for @Consume or something - haven't looked in > the code. But it

Re: Consuming messages in camel cdi

2015-07-07 Thread Claus Ibsen
Hi Thanks for the sample code. I suspect we need to enh camel-cdi to scan for any managed beans for @Consume or something - haven't looked in the code. But it smells like it only does that for RouteBuilder classes. Feel free to log a JIRA so we will get this sorted. On Mon, Jul 6, 2015 at 12:25