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: from uri=file:data/inbox?noop=true/ policy ref=admin to uri=bean:TestReceiverService?method=myMethod/ /policy log message=sent!! loggingLevel=INFO/ I'm using spring context for configuration, but I can't

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.

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: 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),

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);

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=1170483view=rev

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 claus.ib...@gmail.com: Hi Yeah the loop EIP should be

Re: Recursive Calls and CXF

2011-09-14 Thread Claus Ibsen
On Wed, Sep 14, 2011 at 11:17 AM, Achim Nierbeck bcanh...@googlemail.com 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

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] | | +-

Re: AMQP Component

2011-09-14 Thread Claus Ibsen
On Wed, Sep 14, 2011 at 3:46 PM, Sergey B sbelyan...@yahoo.com 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

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...

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

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.

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: