Re: Delete SQS message

2014-04-12 Thread Chris Geer
Yes, there are people using the SQS component. To get better support take a look here...https://camel.apache.org/support.html. There is some basic information that you can provide that can really help people provide you the correct guidance. To answer you question, you need to look at the componen

Re: flatpack-camel - Omit Header and Trailer record

2013-03-17 Thread Chris Geer
On Sunday, March 17, 2013, wrote: > Hi, > Any ideas about how to omit the header and trailer records in > flatpac-camel using pzamp.xml defintions? Have you tried the "header" and "trailer" options [1]? [1] http://flatpack.sourceforge.net/documentation/index.html > > I want to filter out the

Re: Changing the jetty:http Content-Type request header

2013-04-04 Thread Chris Geer
Have you tried setHeader("Content-Type", "application/soap+xml")? On Thu, Apr 4, 2013 at 2:46 PM, wpking wrote: > I'm building a scala/akka-camel SOAP WS client using the jetty:http camel > component. What is the recommended way of changing the Content-Type http > request header to application/

Re: Changing the jetty:http Content-Type request header

2013-04-04 Thread Chris Geer
der related methods. > > back to tinkering ... > > > On Thu, 04 Apr 2013 16:48:16 -0500, Chris Geer > wrote: > > Have you tried setHeader("Content-Type", "application/soap+xml")? >> >> >> On Thu, Apr 4, 2013 at 2:46 PM, wpking wrote: &

Re: Changing the jetty:http Content-Type request header

2013-04-04 Thread Chris Geer
hings int the CamelMessage header > (like Content-Length) and some unfamiliar Camel specific headers so I'll > try setting Content-Type in the Camel Message and see what happens. Thanks > for your suggestion > > > On Thu, 04 Apr 2013 18:09:53 -0500, Chris Geer > wrote:

Re: Changing the jetty:http Content-Type request header

2013-04-05 Thread Chris Geer
into using akka-camel. This is a typical route I might use when using jetty when I want to use a specific content type: from("direct:start") .setHeader("Content-Type", constant("text/xml")) .to("jetty:http://localhost:/xyz";

Re: servlet event based file consuming using file component

2013-04-08 Thread Chris Geer
On Mon, Apr 8, 2013 at 7:08 AM, praveenbillampati < praveenbillamp...@gmail.com> wrote: > Hi All, > > Any idea on this? > Take a look here - http://camel.apache.org/content-enricher.html. The part you'll be interested in is the pollEnrich section. It has an example of what you are trying to do.

Re: ProducerTemplate and direct:start in camel

2013-04-08 Thread Chris Geer
On Mon, Apr 8, 2013 at 7:45 PM, Tarun Kumar wrote: > My camel route is : > > from("direct:start") > .to("http://myhost/mypath";); > > I used : > > ProducerTemplate template; > template.sendBody("direct:start", "This is a test message"); > > to send the exchange. I am getting following exception: >

Re: ProducerTemplate and direct:start in camel

2013-04-08 Thread Chris Geer
ight I suggest that instead of hosting a camel route inside a JAX-RS service you have a camel app that has a JAX-RS endpoint as the entry? That way you have one route that is reused many times. In your current approach, how are you stopping the contexts/routes and cleaning up resources? > > Ta

Re: ProducerTemplate and direct:start in camel

2013-04-08 Thread Chris Geer
start the route i.e. > from(direct:start) is not executing. I read somewhere that for that i will > need to use producerTemplate. But, when i use that , i am getting No > consumers available on endpoint: Endpoint[direct://start]. So, Should i > start ProducerTemplate in route configure

Re: Why do all Camel components have the same version number?

2013-04-10 Thread Chris Geer
See this thread: http://camel.465427.n5.nabble.com/Camel-3-discussion-Components-releases-td5727764.html On Wed, Apr 10, 2013 at 11:00 AM, pmcb55 wrote: > Yep - I get that Don, and I agree that that is certainly a benefit. I'm > just > wondering if it's worth the cost of re-releasing a new vers

Disable chunked encoding on HTTP4 component

2013-05-23 Thread Chris Geer
Is there a way to disable using chunked encoding on the HTTP4 component? I have a server that apparently doesn't like chunked messages. I was able to switch to use the HTTP component but I know that is eventually going to go away. I tried setting the CamelHttpChunked header to false but that doesn

Re: CamelOne

2013-05-27 Thread Chris Geer
I'll be there Sunday night. See you then. Chris On Mon, May 27, 2013 at 12:53 PM, Christian Müller < christian.muel...@gmail.com> wrote: > CamelOne 2013 (http://camelone.org/) is in about two weeks! > Who will be there? > I want to meet as many Camel user/contributors/committers/PMC's as > poss

Re: Disable chunked encoding on HTTP4 component

2013-05-27 Thread Chris Geer
el: https://www.apache.org/foundation/ > Apache Member: https://www.apache.org/foundation/members.html > > https://www.linkedin.com/pub/christian-mueller/11/551/642 > > > On Fri, May 24, 2013 at 5:18 AM, Chris Geer wrote: > > > Is there a way to disable using chunked encoding on the

Dynamically Creating/Deploying Camel Routes

2012-12-19 Thread Chris Geer
We are building a system running on top of Karaf and have a need for one of our OSGI services to be able to dynamically create new camel contexts and routes. I thought I could get away with just creating a new DefaultCamelContext but I'm running into a lot of problems with component resolution (amo

Re: Dynamically Creating/Deploying Camel Routes

2012-12-19 Thread Chris Geer
n Müller < christian.muel...@gmail.com> wrote: > Do you really need to create new Camel context's? > Why it's not enough to "only" create new routes? > > Best, > Christian > > On Wed, Dec 19, 2012 at 3:08 PM, Chris Geer wrote: > > > We are building a

Re: Flatpack Unmarshall Spring DSL Example

2013-03-12 Thread Chris Geer
On Tue, Mar 12, 2013 at 12:31 PM, wrote: > Hi, > Anyone has got examples for unmarshalling Flatpack structure in Spring > DSL? I am not able to see anything in net. > If you look at the camel tests there are lots of examples of using spring to define a route that uses Flatpack. The Flatpack compo

Re: Flatpack Unmarshall Spring DSL Example

2013-03-12 Thread Chris Geer
nmarshall into? Chris [1] https://github.com/apache/camel/tree/trunk/components/camel-flatpack/src/test > > Thanks > Ganesh > > -Original Message- > From: Chris Geer [mailto:ch...@cxtsoftware.com] > Sent: Tuesday, March 12, 2013 4:26 PM > To: users@camel.apache.org >

Re: Flatpack Unmarshall Spring DSL Example

2013-03-13 Thread Chris Geer
en > the records are short record. > > I am seeing some action to allow short records in Flatpack, so want to try > it and see if it works. > > > -Original Message- > From: Chris Geer [mailto:ch...@cxtsoftware.com] > Sent: Tuesday, March 12, 2013 5:58 PM >

Splitting on XML Documents

2012-01-25 Thread Chris Geer
I ran into an issue with a combination of using split and the XSLT component. I have a XML body that that has a header on it with multiple elements.* *When I run it through split, it works and I get multiple messages but the split docs don't have header. When I try and run that split doc (without

Re: Splitting on XML Documents

2012-01-25 Thread Chris Geer
Yes, my xsl file already has that statement. When it comes out of the XSLT transform it has the header, it's the split tasks that strips it off. Chris On Wed, Jan 25, 2012 at 2:59 PM, Babak Vahdat wrote: > Hi, > > Have you already specified the output method of your xsl file to be "xml"? > > om

Re: Splitting on XML Documents

2012-01-25 Thread Chris Geer
Sorry, 2.8.3. On Wed, Jan 25, 2012 at 3:29 PM, Babak Vahdat wrote: > And what about the Camel version you use? > > Babak > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Splitting-on-XML-Documents-tp5431032p5431531.html > Sent from the Camel - Users mailing list archive

Re: Splitting on XML Documents

2012-01-25 Thread Chris Geer
ither running into a namespace problem[1] or your > templates XPaths aren't expecting Parcel (from your example) as the root > element. > > [1] > http://camel.apache.org/xpath.html#XPath-Namespaceauditingtoaiddebugging > > Let us know more info (example XML and XSLT) if my suspici

Re: Splitting on XML Documents

2012-01-26 Thread Chris Geer
on to document object and I belive fix your > > problem. > > > > Best regards, > > Łukasz Dywicki > > -- > > Code-House > > http://code-house.org > > > > > > Wiadomość napisana przez Chris Geer w dniu 2012-01-26, o godz. 01:36: > > > >

Re: Splitting on XML Documents

2012-01-27 Thread Chris Geer
/github.com/apache/camel/blob/trunk/camel-core/src/main/java/org/apache/camel/builder/xml/XsltBuilder.java#L409 > [2] > https://github.com/apache/camel/blob/trunk/camel-core/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java#L266 > [3] > http://docs.oracle.com/javase/1.5.0/docs

Error with multiple CometD components

2012-03-13 Thread Chris Geer
I have a need to run multiple CometD endpoints where I can selectively dispatch messages to each one based on data in my flow (splitting via different comet subscriptions isn't sufficient). My plan was to run each endpoint on it's own port so they wouldn't overlap but as soon as I try and create a

Re: Error with multiple CometD components

2012-03-13 Thread Chris Geer
gt; Do you deploy the Cometd producer and consumer at the same time ? > I guess you doesn't past all the routes those you have. > > > > On Wed Mar 14 07:29:28 2012, Chris Geer wrote: > >> I have a need to run multiple CometD endpoints where I can selectively >> di

Re: Error with multiple CometD components

2012-03-15 Thread Chris Geer
gt; > On Wed Mar 14 10:27:34 2012, Chris Geer wrote: > >> We are using Camel 2.8.3 with ServiceMix 4.4.1. The consumer is a webpage >> using the jquery comet library. You are correct that I didn't publish all >> my routes in the sample I provided, I just provided enough to

OSGI Transaction Propagation to Camel Route

2012-04-04 Thread Chris Geer
We are building an application using ServiceMix (CXF, Camel, Karaf...) and we've run into an issue with transactions not propagating to camel routes as we'd like them to. We have several OSGI components that run under transactions using the Aries transaction management like the following:

Re: OSGI Transaction Propagation to Camel Route

2012-04-05 Thread Chris Geer
d" and the "from". > > Stefan > > > On Thu, Apr 5, 2012 at 07:13, Chris Geer wrote: > > We are building an application using ServiceMix (CXF, Camel, Karaf...) > and > > we've run into an issue with transactions not propagating to camel routes > &

Re: OSGI Transaction Propagation to Camel Route

2012-04-05 Thread Chris Geer
.@gmail.com> wrote: > Chris, > may be the source code of Claus book "Camel in Action" is helpful for you > [1]. > > Could you als share your datasource configuration with us? It was not in > your post... > > [1] > > http://code.google.com/p/camelinac

Re: OSGI Transaction Propagation to Camel Route

2012-04-05 Thread Chris Geer
ut maybe it wasn't > designed > > to do that? > > > > Camel does not have its own TX manager etc. All we do is to hook into > the Spring TX manager. > So if there is already a TX in progress, then Camel should just play > along, and run in that same TX. > &g

Re: OSGI Transaction Propagation to Camel Route

2012-04-16 Thread Chris Geer
e to give it a quick look? Thanks, Chris On Sat, Apr 7, 2012 at 3:19 AM, Claus Ibsen wrote: > On Thu, Apr 5, 2012 at 5:57 PM, Chris Geer wrote: > > Claus, > > > > I realize that but I can't explain what I'm seeing. Here is an additional > > piece of info, here is

Re: OSGI Transaction Propagation to Camel Route

2012-04-17 Thread Chris Geer
ly in the same thread? > > Regards, > > *Raúl Kripalani* > Principal Consultant | FuseSource Corp. > r...@fusesource.com | fusesource.com <http://www.fusesource.com/> skype: > raul.fuse | twitter: @raulvk <http://twitter.com/raulvk>, > @fusenews<http://twitter.co

Re: OSGI Transaction Propagation to Camel Route

2012-04-17 Thread Chris Geer
Corp. > r...@fusesource.com | fusesource.com <http://www.fusesource.com/> skype: > raul.fuse | twitter: @raulvk <http://twitter.com/raulvk>, > @fusenews<http://twitter.com/fusenews> > > <http://twitter.com/fusenews> > > On 17 April 2012 16:53, Chris Geer wrote:

Re: OSGI Transaction Propagation to Camel Route

2012-04-17 Thread Chris Geer
ing borrowing > and returning to the pool. > > Let me know if it works for you. > > Regards, > Raul. > > On 17 Apr 2012, at 18:31, Chris Geer wrote: > > > Raul, > > > > Thanks for the information. I tried what you said and I think it did have > > so

Re: OSGI Transaction Propagation to Camel Route

2012-04-17 Thread Chris Geer
layers of the stack need to be > > XA-aware, as XA requires a different behaviour when handling borrowing > > and returning to the pool. > > > > Let me know if it works for you. > > > > Regards, > > Raul. > > > > On 17 Apr 2012, at 18:31, Chris Geer

Re: OSGI Transaction Propagation to Camel Route

2012-04-17 Thread Chris Geer
gt; > want to try it out locally substituting the DB interactions with > > another JMS send... > > > > Thanks. > > > > On 17 Apr 2012, at 22:21, Chris Geer wrote: > > > >> The only place I'm not using an already XA aware connection factory i

Re: OSGI Transaction Propagation to Camel Route

2012-04-18 Thread Chris Geer
After an upgrade to 5.6-SNAPSHOT everything works as expected. I'm still curious about my last question though :) Thank you all for your help. Chris On Tue, Apr 17, 2012 at 6:28 PM, Chris Geer wrote: > Thanks Raul, that issue does look like the problem I'm seeing on the > su

Re: OSGI Transaction Propagation to Camel Route

2012-04-19 Thread Chris Geer
gt; > org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)[77:org.springframework.jms:3.0.5.RELEASE] > >>at > >> > org.springframework.jms.listener.DefaultMessageList

Re: OSGI Transaction Propagation to Camel Route

2012-04-19 Thread Chris Geer
jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)[77:org.springframework.jms:3.0.5.RELEASE] >at java.lang.Thread.run(Thread.java:619)[:1.6.0_14] > > > Arnaud Deprez > >  please don't print unless you r

Re: OSGI Transaction Propagation to Camel Route

2012-04-23 Thread Chris Geer
because you only have one resource (JMS), you should > consider to only use a local JMS transaction which is much more faster than > the XA transactions (because of 2PC). > > [1] https://github.com/muellerc/camel-in-transaction/ > > Best, > Christian > > On Fri, Apr 20, 2012

Flatpack Example

2012-05-21 Thread Chris Geer
If there an example anywhere demonstrating how to use the flatpack component? I've been playing with it with very little success. I've got the very simple case working: This will create a message on the se

Re: Flatpack Example

2012-05-21 Thread Chris Geer
something doesn't work, mention the Camel version, and what > runtime you use, eg Tomcat, ServiceMix etc. > And especially with OSGi, loading resources on classpath can be tricky. > > > On Tue, May 22, 2012 at 1:26 AM, Chris Geer wrote: > > If there an example anywhere demonstr