Re: java dsl vs blueprint xml

2015-12-15 Thread Daniel Lamb
As Christian suggested, blending the two is a good approach. I’ve done that where I’ve used blueprint to register services, but still use the java dsl for everything else. I wouldn’t worry about deployment as a factor for choosing between the two if you’re using karaf. Sure, dropping an xml f

Re: filtering, but not removing http producer headers

2015-11-10 Thread Daniel Lamb
oto > > > >> On Nov 10, 2015, at 3:23 PM, Daniel Lamb wrote: >> >> If you do some parallel processing and have an aggregation strategy for the >> results, just make sure to put the properties from the old exchange onto the >> exchange that you return. Oth

Re: filtering, but not removing http producer headers

2015-11-10 Thread Daniel Lamb
it a try. > > Do you know if there is some concern using exchange properties that I should > worry about, perhaps with multi-threading? > > Best regards, > Alex soto > > > >> On Nov 10, 2015, at 2:57 PM, Daniel Lamb wrote: >> >> Store the header

Re: filtering, but not removing http producer headers

2015-11-10 Thread Daniel Lamb
Store the headers as properties on the exchange before filtering them out. Then you can pull them back out after you get your response from the remote server and do what you need to do. ~Danny On Nov 10, 2015, at 3:52 PM, Alex Soto wrote: > In case its not clear, I need my custom headers fo

Re: PHP and OSGi?

2015-07-02 Thread Daniel Lamb
not use php, or at least we have no osgi bundle of a library > that works and that we test with. > > And is there any reason you cannot just use any of the other scripting > language or java. > > On Tue, Jun 30, 2015 at 9:32 PM, Daniel Lamb > wrote: >> Hi, >>

Re: PHP and OSGi?

2015-07-02 Thread Daniel Lamb
importing org.apache.camel.* in your php bundle >> >> Pardon the brevity, >> Sent from my phone >> On Jun 30, 2015 3:32 PM, "Daniel Lamb" wrote: >> >>> Hi, >>> >>> Has anyone out there ever successfully used PHP within camel routes >&g

PHP and OSGi?

2015-06-30 Thread Daniel Lamb
Hi, Has anyone out there ever successfully used PHP within camel routes running in an OSGi container? I keep getting the following error despite having camel-script installed: Bundle php_test.xml is waiting for dependencies [(&(language=php)(objectClass=org.apache.camel.spi.LanguageResolver))

Interrupted Exception when Shutting Down with Embedded Activemq

2015-03-30 Thread Daniel Lamb
port org.apache.camel.spring.Main; /** * Shuts down the application. * * @author Daniel Lamb */ public class ShutdownProcessor implements Processor { private Thread stop; @Override public void process(final Exchange exchange) throws Exception { if (stop == null

Re: camel-script not working with blueprint

2015-01-28 Thread Daniel Lamb
googlecode-scriptengines Google Code Script Engines http://scriptengines.googlecode.com/svn/m2-repo/ ~Danny On Jan 27, 2015, at 2:24 AM, Claus Ibsen wrote: > Hi > > I think you need to install camel-script-javascript also. > > > On Mon, Jan 26, 2015 at 10:

camel-script not working with blueprint

2015-01-26 Thread Daniel Lamb
I’m using openjdk 1.7.0_65 camel version 2.14.1 and I’ve run into difficulty trying to use camel-script for javascript in a camel route using blueprint. I’ve verified that camel-script works fine when building a war with spring and deploying to a servlet container, but when building a bundle wi