Re: problem to inject producer for JMS queue in geronimo

2009-05-22 Thread Xasima Xirohata
I have created an issue with eclipse project attached to ask help to resolve the problem. https://issues.apache.org/activemq/browse/CAMEL-1636 On Sat, May 16, 2009 at 5:59 PM, Claus Ibsen wrote: > On Wed, May 13, 2009 at 12:48 PM, Xasima Xirohata wrote: >> Sorry to mail you only, not in list. I

Re: problem to inject producer for JMS queue in geronimo

2009-05-05 Thread Claus Ibsen
On Wed, May 6, 2009 at 6:53 AM, Xasima Xirohata wrote: > Thanks! Will try. Curious, is it available any camel instruction > (spring based or java dsl) that may allow to process all classes in a > specified packages to automatically find out all camel annotation to > process. > > Smth like > xmlns

Re: problem to inject producer for JMS queue in geronimo

2009-05-05 Thread Xasima Xirohata
Thanks! Will try. Curious, is it available any camel instruction (spring based or java dsl) that may allow to process all classes in a specified packages to automatically find out all camel annotation to process. Smth like http://activemq.apache.org/camel/schema/spring";> If there are a lot

Re: problem to inject producer for JMS queue in geronimo

2009-05-05 Thread Claus Ibsen
Hi Ah its Camel that inject its own annotations, so @EndpointInjected is handled by Camel. Its the CamelBeanPostProcessor that is a Spring BeanPostProcessor. And since your SimpleProducer is nor known by Spring or Camel its not injected at all. So define it as a Spring bean And Camel should be

Re: problem to inject producer for JMS queue in geronimo

2009-05-05 Thread Xasima Xirohata
Sorry, it's not the NPE inside camel or geronimo. I mean none of the @EndpointInject(uri="jms:queue:SendReceiveQueue") ProducerTemplate producer; @EndpointInject(uri="jms:SendReceiveQueue") ProducerTemplate producer2; @EndpointInject(uri="activemq:SendReceiveQueue") ProducerTemplat

Re: problem to inject producer for JMS queue in geronimo

2009-05-05 Thread Claus Ibsen
Hi Can you show the NPE stacktrace? And which producer is it that causes the NPE? On Tue, May 5, 2009 at 7:15 PM, Xasima Xirohata wrote: > Hi. I'm using geronimo-jetty-2.1.4 running with jdk1.6.  This geronimo > has an activemq (4.1.2) running on 61616. I have created queue > 'SendReceiveQueue'