my URI is
.to("netty:tcp://localhost:6789?encoders=#myEncoders&decoders=myDecoders&sync=true")
test main program like:
Object decoder = new LengthDecoder(); //appctx.getBean("mydecoder");
Object encoder = new MessageEncoder(10);
//appctx.getBean("myencoder");
Simp
Hi Claus
On 13 April 2012 16:12, Claus Ibsen wrote:
> Hi
>
> What runtime do you use? Tomcat, Standalone, OSGi etc?
Both tomcat and jetty in different settings.
> Camel should pickup that bean automatic as it lookup the registry by type.
> As shown here
> http://camel.apache.org/advanced-config
Good to know you could figure it out by yourself. I would response later to
your question with the solution you mentioned (I'm on a shopping tour with
my girl friend at present... ;-) ).
There are also others. Have a look at the parameter binding annotations:
http://camel.apache.org/parameter-bind
Hello
ok i got the error. wrong signature in my handleException method.
it should be handleException(Exchange exchange)
i think Claus might have mentioned me the correct signature in some past
email, but somehow that mail got lost
Good thing i m pleased about is that i spotted the signature err
Hi,
How can I consume multiple JMS messages in one single transaction with
Camel? Is it even possible?
from("jms:myqueue").transacted().to("something") will create a transaction
per consumed message, which is not what I want.
I actually want to consume X messages, aggregate them to a report and
Hello Claus,
sorry to bother, but i am still losing the plot with Exception Handling :(
i read Camel In action chapter, and this is what i came out with:
java.lang.Exception
true
On Fri, Apr 13, 2012 at 9:09 PM, surya wrote:
> Hi Claus,
>
> I am using ver 2.9.0.
>
> I am working around this as:
>
> for(string endpoint: getFromEndPoints()){
> from(endpoint).to("bean:someBean);
> }
>
> not really using from(endpoint1,endpoint2) as makes it not visible in
> jconsole.
>
> L
Hi
I logged a JIRA ticket
https://issues.apache.org/jira/browse/CAMEL-5170
On Wed, Apr 11, 2012 at 5:59 AM, Claus Ibsen wrote:
> On Tue, Apr 10, 2012 at 4:39 PM, GLIMMERVEEN Arnoud
> wrote:
>> Hi all,
>>
>> We've been using Camel for a while now and we are very happy with it! :-)
>>
>> Current