Re: How far behind is the Scala DSL than Java DSL?

2011-09-14 Thread Claus Ibsen
On Wed, Sep 14, 2011 at 11:41 PM, mgardiner wrote: > We are investigating moving to Scala and I see that the Scala DSL is still a > work in progess as documented at http://camel.apache.org/scala-dsl.html. > How far behind is the Scala DSL in features and EIP support? > Hi I have removed that not

How far behind is the Scala DSL than Java DSL?

2011-09-14 Thread mgardiner
We are investigating moving to Scala and I see that the Scala DSL is still a work in progess as documented at http://camel.apache.org/scala-dsl.html. How far behind is the Scala DSL in features and EIP support? -- View this message in context: http://camel.465427.n5.nabble.com/How-far-behind-is

Re: how to monitor a route

2011-09-14 Thread Ashwin Karpe
Hi, I looked at the article by Martin Huber and there is a better way to do the stats collection. You might want to check out Camel InterceptStrategy and the section on Container wide interceptors at the following link. http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring

Re: how to monitor a route

2011-09-14 Thread preben
Hi For monitoring I have basically rolled out our own custom kind of monitoring feature. Basically every app. (war file) with a camel context exposes a rest service with monitoring features. Monitoring is done using the jmx stats. from the routes last ok/error messages processed. If there has b

Re: how to monitor a route

2011-09-14 Thread boday
you can embed the camel-web console in your app for some basic stats or roll your own route monitoring with JMX. To monitor messages traffic, try adding explicit logging or a wiretap to JMS/file/stream, etc. here are my (slightly dated) notes on this... http://www.consulting-notes.com/2011/01/ap

Re: AMQP Component

2011-09-14 Thread Claus Ibsen
On Wed, Sep 14, 2011 at 3:46 PM, Sergey B wrote: > Willem, > > I am running into the same issue, made sure to exclude all qpid artifacts > from camel AMQP component.  Here's a snippet of 'mvn dependency:tree' > output: > > [INFO] +- org.apache.camel:camel-amqp:jar:2.7.2:compile > [INFO] |  +- org.

Re: AMQP Component

2011-09-14 Thread Sergey B
Willem, I am running into the same issue, made sure to exclude all qpid artifacts from camel AMQP component. Here's a snippet of 'mvn dependency:tree' output: [INFO] +- org.apache.camel:camel-amqp:jar:2.7.2:compile [INFO] | +- org.apache.camel:camel-jms:jar:2.7.2:compile [INFO] | | +- org.spr

Re: Recursive Calls and CXF

2011-09-14 Thread Claus Ibsen
On Wed, Sep 14, 2011 at 11:17 AM, Achim Nierbeck wrote: > Hi Claus, > > yeah, that could be helpfull :) > Any timeline on this ;) > > On the other hand I'm wondering if there might be a more elegant way > of calling these WebServices that I just didn't think of yet. > The error handler / onExcept

Re: Recursive Calls and CXF

2011-09-14 Thread Achim Nierbeck
Hi Claus, yeah, that could be helpfull :) Any timeline on this ;) On the other hand I'm wondering if there might be a more elegant way of calling these WebServices that I just didn't think of yet. regards, Achim 2011/9/13 Claus Ibsen : > Hi > > Yeah the loop EIP should be improved to support a

Re: Can't get JAAS working for EJB 3.0(on JBoss) while routing.

2011-09-14 Thread Willem.Jiang
I just did some test on the camel-ejb module.[1] It is possible to lookup the spring beans if you just set up the jndi context on the ejb object. you can find the reference here[2]. [1]http://svn.apache.org/viewvc?rev=1170483&view=rev [2]https://svn.apache.org/repos/asf/camel/trunk/components/cam

Re: camel mail imap :javax.mail.FolderClosedException

2011-09-14 Thread Claus Ibsen
Hi Could you add some logging in the finally block? As shown below: } finally { // need to ensure we release resources try { if (folder.isOpen()) { LOG.info("Closing folder in finally block"); folder.close(tru

Re: Can't get JAAS working for EJB 3.0(on JBoss) while routing.

2011-09-14 Thread vhalitsyn
Hi Willem, and thank you for the quick reply! According to Spring http://static.springsource.org/spring-security/site/docs/3.0.x/reference/springsecurity-single.html#tech-intro-authentication security ref "If you just use SecurityContextHolder.getContext().setAuthentication(anAuthentication), t

Re: Can't get JAAS working for EJB 3.0(on JBoss) while routing.

2011-09-14 Thread Willem Jiang
Spring Security is setting the token as a thread local variable, but in Camel it doesn't do the trick as the Camel as an async routing engine, which means the calling thread could be changed. I think we can set up a composite registry which can look up the beans from jndi and spring application

Re: Bindy component: more than one model object per package

2011-09-14 Thread Willem Jiang
I think we could a construction to the BindyCsvDataFormat with class parameter, then we could work around this kind of issue by specifying a right module object to use. On 9/12/11 3:40 PM, Claus Ibsen wrote: Hi We would like to improve this in the future, either Camel 3.0, or earlier. However

Can't get JAAS working for EJB 3.0(on JBoss) while routing.

2011-09-14 Thread vhalitsyn
Hi, I'm trying to setup a route which would send some of my data to the remote EJB eg: I'm using spring context for configuration, but I can't stop getting the org.apache.camel.RuntimeCamelException: javax.ejb.EJBAccessException: Authentication failure exception when invoking the bea