Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-16 Thread jjb
the -F option > https://issues.apache.org/activemq/browse/CAMEL-1913 > > > > On Sat, Aug 15, 2009 at 12:23 PM, Claus Ibsen > wrote: >> Hi >> >> I had a look and found a glitch. I have created a ticket to track it >> https://issues.apache.org/activemq/browse/CAMEL-1913 &

Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-14 Thread jjb
You should use POST to send data. GET is only for like query > parameters and the body is expected to be empty using GET. > As opposed to POST where the posted data is in the body. > > > > > On Thu, Aug 13, 2009 at 9:36 PM, jjb wrote: >> >> FYI, I us

Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-13 Thread jjb
FYI, I use the following wget command to test this: wget --post-file=ftm_request.xml --output-document=- http://localhost:8080/ftm/ Where the ftm_request.xml file has the following contents (which I want to get as a String in my HttpProcessor.process method): Regards jjb wrote

Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-13 Thread jjb
ion. Is there another way to get the HTTP body as a String or is this just broken in the latest SNAPSHOT (this used to work in 2.0-M2)? Regards jjb wrote: > > Hi > > So I got the latest SNAPSHOT and the bean binding issue as well as the > camel-http getResponse issue have bee

Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-10 Thread jjb
back from this. Regards Claus Ibsen-2 wrote: > > On Fri, Aug 7, 2009 at 2:40 AM, jjb wrote: >> >> Hi >> >> I have another question regarding how to obtain the body of the HTTP >> message.  Before the latest SNAPSHOT (in 2.0-M2), I used to be able to do

Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-06 Thread jjb
FYI - The latest SNAPSHOT also doesn't contain the bean?method= fix either. Regards jjb wrote: > > Hi > > I have another question regarding how to obtain the body of the HTTP > message. Before the latest SNAPSHOT (in 2.0-M2), I used to be able to do > this: >

Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-06 Thread jjb
body of an HTTP post now? Regards jjb wrote: > > Hi, Claus. > > I was hoping to get the latest SNAPSHOT with the HttpMessage.getResponse > method implemented. I just updated from the SNAPSHOT repo and verified > it's not there yet: > > stealth: wget -

Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-06 Thread jjb
to the servlet response >> >>            // and we can use servlet response to write to output stream >> also >>            res.getOutputStream().print("Written by servlet response"); >> >> >> On Wed, Aug 5, 2009 at 10:55 AM, Claus Ibsen >&

Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-05 Thread jjb
response.getWriter().println(statusStr) Claus Ibsen-2 wrote: > > Hi > > Ah the response may be missing on the HttpMessage. > > What do you need it for? > > On Wed, Aug 5, 2009 at 9:51 AM, jjb wrote: >> >> Hi, Claus. >> >> Thank you so much fo

Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-05 Thread jjb
issue is that your base class implements the > javax.jms.MessageListener. > I will dig into why Camel prefers to invoke this method over the > method name specified. > > > On Tue, Aug 4, 2009 at 8:02 PM, jjb wrote: >> >> Hi. >> >> Attached is an example which recreates th

creating a new bean per route invocation

2009-08-04 Thread jjb
Hi. I need to do synchronous processing but not hold up routes of the same type when many instances are active at the same time. Take the following bean and route definitions from camel-context.xml: ... http://0.0.0.0:8080/test/?sessionSupport=true"/> And

Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-04 Thread jjb
t put the @Handler annotation in the DerivedClass. http://www.nabble.com/file/p24813432/camel_bug.tgz camel_bug.tgz About the 2.0-M3 Camel interface for HttpServletResponse - how do I get it from the Exchange? Thanks! Claus Ibsen-2 wrote: > > On Tue, Aug 4, 2009 at 9:26 AM, jjb wrot

Re: bean binding with inheritance & 2.0-M3 camel-http

2009-08-04 Thread jjb
the HttpServletRequest worked for me - thanks)? Regards Claus Ibsen-2 wrote: > > Hi > > On Tue, Aug 4, 2009 at 7:52 AM, jjb wrote: >> >> I have a hierarchy of objects which looks like this: >> >> public BaseClass implements javax.jms.MessageListe

bean binding with inheritance & 2.0-M3 camel-http

2009-08-03 Thread jjb
I have a hierarchy of objects which looks like this: public BaseClass implements javax.jms.MessageListener { public void onMessage(javax.jms.Message message) { // do something } } public DerivedClass extends BaseClass { public void process(String body) { // do