Re: Groovy problem when an expression is evaluated by Camel

2012-11-19 Thread anaCortes
Thanks all for your answers :) The problem is that i´m not using any groovy expression, this is something that Camel does internally. I´m using Camel 2.10.1. By default, -XX:ReservedCodeCacheSize was 32, and now it has be changed to 64. Should be 64 enough, or it would be better 128? Thanks B

Re: Re: Using Camel with Java DSL and minimal Spring

2012-11-19 Thread Jay Walters
No I stubbed out the jpa stuff. Is it documented what needs to be done, or do I just decode the spring xml ( I can do that, just not my first choice). I will poke around for one of the other examples to have the jpa bit and see if I can work it out. Thanks On 11/19/12, Hadrian Zbarcea wr

Dynamic route ids with Spring DSL

2012-11-19 Thread Henrique Viecili
Is it possible to set the route id attribute with a dynamic value? (in Spring DSL) Example: and 'suffix' comes from a property file. *Henrique Viecili*

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-19 Thread Christian Müller
could you execute: exports | grep "javax.persistence.spi" What do you see? Best, Christian On Mon, Nov 19, 2012 at 6:23 PM, sekaijin wrote: > thank you, > I deleted everything > I redémaré Karaf > > > the feature [installed ] [1.0.2-SNAPSHOT] camel-activemq hermes > is > activemq > camel-j

Re: Using Camel with Java DSL and minimal Spring

2012-11-19 Thread Henryk Konsek
Hi Jay, > I don't get any exceptions either which is sort of odd. If you set your logger level to DEBUG, you will see if the routes you're interested in are started or not. You will also get details information about routing of each message. If magic still happens and logs can't tell you why, th

Re: Basic question about synchronous queues and pipes..

2012-11-19 Thread Hadrian Zbarcea
Hi, What you're doing is almost good. The only thing missing, if I understand your use case well, is a resequencer [1] that enforces the correct order. Doing it on separate routes is not really mandatory, but personally I would prefer it. I'd use either seda: or jms: for that, depending on ho

Basic question about synchronous queues and pipes..

2012-11-19 Thread lleclerc
Hi, I looked into documentations/questions and I am not sure about the responses I seen. I want to send an http request at each 5 seconds and delay the response by 3 minutes before processing it. The http request time can vary a lot before getting a response, but I want to keep the order intact,

Re: Using Camel with Java DSL and minimal Spring

2012-11-19 Thread Hadrian Zbarcea
Do you have any stack trace? Did you setup the jpa persistence layer properly? That's the bit that is mandatory and in our example is done via spring (iirc). Hadrian On 11/19/2012 02:03 PM, Jay Walters wrote: I am trying to understand if it is feasible to configure routes and things at runti

Using Camel with Java DSL and minimal Spring

2012-11-19 Thread Jay Walters
I am trying to understand if it is feasible to configure routes and things at runtime from Java rather than having to deploy a bunch of fixed xml files for spring configuration. I can work through simple examples easy enough (say sending data through activeMQ) but am having some problem with th

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-19 Thread sekaijin
thank you, I deleted everything I redémaré Karaf the feature [installed ] [1.0.2-SNAPSHOT] camel-activemq hermes is activemq camel-jms activemq-blueprint activemq-camel th feature [installed ] [1.0.2-SNAPSHOT] hermes-ressources hermes is wrap:mvn:ojdbc/ojdbc/14 mvn:commons-lang/commons-lan

Re: Groovy problem when an expression is evaluated by Camel

2012-11-19 Thread Christian Ohr
You did not include your actual Groovy expression, the Groovy version, Camel version, so it's hard to tell. There has been a thread about a seemingly similar issue at http://groovy.329449.n5.nabble.com/VirtualMachineError-OOM-in-JiT-space-at-Groovy-1-8-6-startup-td5710579.html. Maybe this help

Re: Christian Schneider Karaf Tutorial Part 6 - Database Access problem

2012-11-19 Thread Christian Schneider
Hi, the exception Caused by: java.lang.ClassCastException: org.apache.openjpa.persistence.PersistenceProviderImpl cannot be cast to javax.persistence.spi.PersistenceProvider typically means that you have two interfaces PeristenceProvider on your classpath. So either there are two bundles that

CXF and Camel Compatibility - noSuchMethod getBindingOperationInfo()

2012-11-19 Thread Angelo
I've been struggling trying to resolve this incompatibility issue so I'm reaching out here to the community to see if there is something obvious in my dependency configs that might jump out as the problem. I'm using CXF endpoing uri, not bean ref and wsdl-first via provider (config below). I trie

Re: StackOverflowError when using restlet component with relative path

2012-11-19 Thread Chris Pro
Hi massyl Thank you for your example. Unfortunately we do not use Spring, so we have to initialize "jaxrs:server" whit Java directly. Therefore I use the Camel-Bean-Component. With following code, Camel is not started up. No exception/error is throwing :-/ So I don't know where the problem is

Groovy problem when an expression is evaluated by Camel

2012-11-19 Thread anaCortes
Hi all, does anyone have this problem before? Do you know why is this happening? Caused by: java.lang.VerifyError: (class: org/codehaus/groovy/runtime/ArrayUtil, method: createArray signature: ()[Ljava/lang/Object;) Illegal type in constant pool at org.codehaus.groovy.runtime.callsite.Ab

Re: java mail & camel smtp

2012-11-19 Thread Claus Ibsen
On Mon, Nov 19, 2012 at 7:44 AM, maheshadepu wrote: > This is more of java mail question. I am trying to use Camel smtp component. > > I am getting the following exception > > com.sun.mail.smtp.SMTPSenderFailedException: 550 5.0.0 Only pre-authorized > systems may access this MTA > > I am passing