Re: Getting an OSGi-based REST project started with Camel

2011-09-06 Thread Freeman Fang
Hi, JBI stuff is provided by features(the provisioning mechanism of Karaf/ SMX), it could be easily removed from the container. You can edit $SMX_HOME/etc/org.apache.karaf.features.cfg, remove jbi* and servicemix-* features from featuresBoot property, by this way you can simply remove the

Re: SMPP 2.8 component null pointers

2011-09-06 Thread Willem Jiang
I just created a JIRA[1] and submit a patch into the camel trunk. Please verify it if you have time. [1]https://issues.apache.org/jira/browse/CAMEL-4422 On Wed Sep 7 06:35:25 2011, awillia wrote: I have moved up to the version 2.8 of the SMPP component but it causes a null pointer whenever I s

Re: Getting an OSGi-based REST project started with Camel

2011-09-06 Thread Brian Topping
Thanks guys, this is really great information! :-) I looked at SMX a number of times but kept considering the whole JBI thing as a bit of complexity I didn't need to get involved in. After the experience today and hearing your experience, it seems clear that the extra effort of learning to wo

Re: Missing properties on exception

2011-09-06 Thread Willem Jiang
It is hard to tell what is wrong based on you description. Can you past the Camel route and your exception handler here ? On Wed Sep 7 00:25:33 2011, pkleczka wrote: Hello *Problem*: When an incoming message arrives in my queue, I copy the message ID into the JMSCorrelationID on header before

Re: Quartz stateful job routes not recreated on server restart

2011-09-06 Thread Willem Jiang
Which version of Camel are you using ? Can you post the related camel route and quartz setting to this thread? It will be helpful for us to trace the issue. On Tue Sep 6 22:39:59 2011, Cédric Pineau wrote: Hi to all. I use quartz stateful job with a jdbcstore. Everything works fine as long a

Re: EJB Component JNDI lookup problems

2011-09-06 Thread Willem Jiang
Can you look up you EJB with the jndi setting and name CamelBeanJNDI as a simple EJB client ? It looks more like a EJB look up issue instead of camel-ejb component issue. On Tue Sep 6 22:05:02 2011, Peter Thygesen wrote: I'm trying to get the EJB component to work with/in Glassfish 3.1.1. B

Re: Getting an OSGi-based REST project started with Camel

2011-09-06 Thread Freeman Fang
Yeah, using Apache Servicemix is a better choice. Apache Servicemix basically is an OSGi container but support Cxf, Camel , Activemq, JBI, etc out of the box. It can save you lots of effort, we have a cxf-jaxrs example shipped with kit which you may need take a look. Btw, you should avoid us

Re: Getting an OSGi-based REST project started with Camel

2011-09-06 Thread Willem Jiang
There are some package and bundle hacking if you want to install the CXF bundle with Karaf or Felix from scratch. You can try to use the Servicemix which ships lots bundles to support the CXF out of box. BTW, apache CXF has it's own feature file that you can take it as an example to resolve th

RE: Activemq dynamic endpoint configuration

2011-09-06 Thread kal2420
mrlalonde wrote: > > > I think you are on the right track with thoughts on polled endpoints. > I you are looking to consume messages when a state changes, you could > generate application events when that happens and use a pollEnrich(...) > eip. > > Something like: > > from("spring-event://def

Getting an OSGi-based REST project started with Camel

2011-09-06 Thread Brian Topping
Greetings, I'm interested in working with Camel under OSGi. I have previous experience with EIP and OSGi and have read the very good Camel In Action, so this seems like a reasonable leap. Over the weekend, spent some time trying some different components out. My base deployment is Felix 3.

SMPP 2.8 component null pointers

2011-09-06 Thread awillia
I have moved up to the version 2.8 of the SMPP component but it causes a null pointer whenever I send a message. I have tracked it down to SmppProducer calling session.submitShortMessage passing in submitSm.getOptionalParametes(). In SmppBinding these optional parameters are set if the message is

Re: Unable to change throttle with inflight messages

2011-09-06 Thread awillia
Thank you for your responses. I have ended up implementing my own that throws an exception and then retries until the quota is changed at which point the messages are released. -- View this message in context: http://camel.465427.n5.nabble.com/Unable-to-change-throttle-with-inflight-messages-tp47

RE: FTP is not polling the files

2011-09-06 Thread jdpatil
I am using following log4j.xml file http://jakarta.apache.org/log4j/"; debug="true">

Missing properties on exception

2011-09-06 Thread pkleczka
Hello *Problem*: When an incoming message arrives in my queue, I copy the message ID into the JMSCorrelationID on header before routing to other internal queues. When my exception handling engages, the property disappears. Below is the method signature for the bean I am calling when the exceptio

Quartz stateful job routes not recreated on server restart

2011-09-06 Thread Cédric Pineau
Hi to all. I use quartz stateful job with a jdbcstore. Everything works fine as long as the server is not shutdown : the job is running, its state is persisted. But on server restart, the jobs are not running anymore, no exception in trace, no nothing :-/ Still I get this trace on startup, indica

EJB Component JNDI lookup problems

2011-09-06 Thread Peter Thygesen
I'm trying to get the EJB component to work with/in Glassfish 3.1.1. But I get an lookup exception. What am I doing wrong? /Peter avax.naming.NamingException: Lookup failed for 'CamelInterface' in SerialContext[myEnv={...removed...} [Root exception is javax.naming.NameNotFoundException: CamelInte

Re: Qpid ObjectMessage problem

2011-09-06 Thread Ioannis Canellos
> > "On Inspect, the method call works fine but fails in resumed debug > execution." > If you deserialize the message with inspect, then its normal the it will fail when you resume, since the object is already read. -- *Ioannis Canellos* * http://iocanel.blogspot.com Apache Karaf