Re: ThreadPoolProfile and multicast

2012-02-28 Thread Claus Ibsen
Hi You should only just configured executorServiceRef, if using a custom thread pool / thread pool profile. The parallelProcessing should not be configured as well. We should possible improved this by validating this and reject as mis configuration. Fell free to create a JIRA ticket. On Wed, Feb

ThreadPoolProfile and multicast

2012-02-28 Thread Preben.Asmussen
Hi I'm wondering why my threadpoolprofile doesn't seem to affect multicast in a route. I have set up a maxPoolsize and poolsize of 5, but when i look in JConsole is see 11 threads in the pool. Seems to me that the multicast is not using the custom thread profile but runs with the defaultThreadPool

Camel context

2012-02-28 Thread diwakar
Hi, We are planning to use camel components without routes (with consumer/producer templates). What is the over head of a Camel context? Is it ok to have 10s of camel contexts. Or should single camel context be shared across different components within same process?

Re: Alternatives to JConsole

2012-02-28 Thread Kleczka Peter John
What OS are you using? On Feb 28, 2012, at 8:44 AM, "m.jimen.blazquez" wrote: > Hi, > > I can connect to every java process but I cannot connect to the java > processes which use camel. > > I have tried every possible solution I have seen in goole but I haven't > found a solution to my probl

Testing a route that uses an intermediate endpoint

2012-02-28 Thread Larry Meadors
I have a route that looks something like this (I'm abbreviating it to make it more direct what I'm trying to test): from(middleEndpoint).doSomeOtherMagic().to(somewhereElse); from(jmsQueue).doSomeMagic().to(middleEndpoint); Based on the doSomeMagic() part, it may or may not end up sending the m

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Chris Narburgh
Hi surya, JSR-250 is indeed very helpful, and a proper port of camel would likely have to implement some handling for this as Guice has not yet done so. See: http://code.google.com/p/google-guice/issues/detail?id=62 There is probably an existing version that is compatible with Guice 3.0 as well, s

Re: Lost message with Transactionl client

2012-02-28 Thread tp20165
Not getting the error on ActiveMQ. However, message is lost. Transaction does not rollback and put it in the "from" queue. It does not move the message to "to" queue, which is a expected behavior. -- View this message in context: http://camel.465427.n5.nabble.com/Lost-message-with-Transactionl-

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread surya aditya
@Claus It is disheartening to hear guiceyfruit is dead..I remember James/team saying somewhere that he will pick up when possible and make it Guice 3.0 compatible, so is it not going to happen? I really like @JndiBind and Jsr250 support offered by guiceyfruit with camel. May I suggest not droppin

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Tim
https://issues.apache.org/jira/browse/CAMEL-4466 https://issues.apache.org/jira/browse/CAMEL-4209 On Tue, Feb 28, 2012 at 10:36 AM, Claus Ibsen wrote: > On Tue, Feb 28, 2012 at 5:35 PM, Chris Narburgh > wrote: > > I would wholeheartedly agree. Guice 3.0 is the latest release with lots > of > >

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Claus Ibsen
On Tue, Feb 28, 2012 at 5:35 PM, Chris Narburgh wrote: > I would wholeheartedly agree. Guice 3.0 is the latest release with lots of > new useful features. > > Is there already a ticket for doing this? > No feel free to create a ticket, and if possible work on contributions. > Thanks, > - Chris

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Chris Narburgh
I would wholeheartedly agree. Guice 3.0 is the latest release with lots of new useful features. Is there already a ticket for doing this? Thanks, - Chris On Tue, Feb 28, 2012 at 10:33 AM, Claus Ibsen wrote: > On Tue, Feb 28, 2012 at 5:30 PM, Chris Narburgh > wrote: > > Hi all, > > > > I came

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Claus Ibsen
On Tue, Feb 28, 2012 at 5:30 PM, Chris Narburgh wrote: > Hi all, > > I came across an annoying problem today regarding Camel + Guiceyfruit. > Camel 2.9.0, Guiceyfruit 2.0. > > The way that Guiceyfruit creates a GuiceCamelContext does not automatically > use the Injector in the registry, as the Spr

Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Chris Narburgh
Hi all, I came across an annoying problem today regarding Camel + Guiceyfruit. Camel 2.9.0, Guiceyfruit 2.0. The way that Guiceyfruit creates a GuiceCamelContext does not automatically use the Injector in the registry, as the SpringCamelContext does with its ApplicationContextRegistry. Could thi

Re: Alternatives to JConsole

2012-02-28 Thread Claus Ibsen
Hi It usually works fine with jconsole. So what is your OS, Camel and JDK version used. And have it worked before? And have you enabled the JMX connector, which can be needed for remote connections? On Tue, Feb 28, 2012 at 4:44 PM, m.jimen.blazquez wrote: > Hi, > > I can connect to every

Alternatives to JConsole

2012-02-28 Thread m.jimen.blazquez
Hi, I can connect to every java process but I cannot connect to the java processes which use camel. I have tried every possible solution I have seen in goole but I haven't found a solution to my problem. ¿anybody have had this problem? ¿could somebody recommend me another jmx-console? Thanks

Re: InOut with asyncProcessor seems not to wait for completion

2012-02-28 Thread Claus Ibsen
Hi You need to use the async routing in the consumer to kick off this. Something along the lines of to have your consumer support the async routing engine. And in the done method you can do any done work in your consumer if you need that. AsyncProcessorHelper.process(processor, excha

InOut with asyncProcessor seems not to wait for completion

2012-02-28 Thread Babel
Hello everyone I'm trying to get asynchronous processing in my component and got some difficulties, I followed the tutorial on http://camel.apache.org/asynchronous-processing.html. In my test from(myprotocl:endpoint).to(myprotocol:endpoint?exchangePattern=InOut) the asynchronous process method

Camel/CXF Security Policy Collision?

2012-02-28 Thread sram
I have two endpoints, one derived from jaxws:endpoint and other via Provider interface. Both have different service ports, names but share same binding. Both are wired with WS-Security policy. CXF enabled w/ WS-Security: http://localhost/reportService/"; />

Handling Failed delivery ...

2012-02-28 Thread Omar Atia
Dear All, I have tcp end point that send messags to activemq , in turn activemq has one network element to update and another WS to update as well , if the request failed on the network element , then it will update the WS that operation failed , but in case WS server down and the system faile

Re: Camel FTP2 not polling?

2012-02-28 Thread Claus Ibsen
Hi Try outside OSGi from a plain java application / unit test. And then you can also enable DEBUG/TRACE logging on the camel-ftp component and the ftp library itself, to see what it logs. Camel uses the Apache Commons Net library for the ftp component. On Mon, Feb 27, 2012 at 11:28 PM, Ellen

How can Shiro be used with camel to limit access to a route?

2012-02-28 Thread mgiammarco
Hello, I am reading several times shiro documentation and camel docs, but I do not understand a thing. The problem I have seems simple: I need that a message is processed by a component if the authenticated user is in a specified group. So I setup shiro, is use .policy() in my dsl but what do I p

Re: How to remove message's from a vm endpoint ?

2012-02-28 Thread sanketh.reddy
thanks for letting me know the additional options i can give on a seda endpoint . But ,i do not want to block the producers . Yea , purgeQueue() from jmx will work fine . From , camel 2.9 onwards we can do this from seda endpoint itself which has a purgeQueue() method now . see https://issues.ap

Re: Invoking the same Camel route multiple times.

2012-02-28 Thread vishalad
Thanks Claus for the information. This information would really help me. -- View this message in context: http://camel.465427.n5.nabble.com/Invoking-the-same-Camel-route-multiple-times-tp5518119p5521480.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Multiple camelContext elements in camel 2.6.0

2012-02-28 Thread Christian Müller
You could code your "onException" strategy in a base route and subclass this in your other routes... Best, Christian On Tue, Feb 28, 2012 at 8:18 AM, cmland wrote: >There are many spring context xml files in my project ,and i want to use > "camel:ContextScan" and "camel:include" to include

Re: How to rethrow a caught exception in CAMEL

2012-02-28 Thread Claus Ibsen
On Tue, Feb 28, 2012 at 5:39 AM, Frank wrote: > Hi, > > I am able to catch Exception sucessfully using > onException()/doTry...doCatch(). But, I don't know how rethorw the same > exception to the caller. Can any one please help me? > The caused exception is stored as a property on the Exchange wi

Issue Facing with Camel Webservice

2012-02-28 Thread sonyvgeorge
Hi Guys, I am new to Camel Integration. Please help me to resolve this issue. We are doing a HoneyComp Architecture Project and For Integrating each cell we are using Camel Inetgration. I Facing below issue while doing Camel Webservice. I have implemented apache-camel-2.9.0/examples/camel-examp

Re: Using Spring WS component to call service which sends response as attachment

2012-02-28 Thread Jan Fredrik Wedén
Yeah, I was afraid of that. For the time being we achieve our goal using a custom processor to do the work with Spring WS Template. We are already dicussing putting in some time to extend the camel component so there might be a patch coming up in the near future as well. Would be nice to rid ourse