camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: REST InOut with JMS InOnly
Date Tue, 03 Feb 2015 12:14:42 GMT
Hi

You can send the message to the JMS as InOnly or use WireTap

On Tue, Feb 3, 2015 at 12:27 PM, James Green <james.mk.green@gmail.com> wrote:
> I have two routes:
>
> 1. A rest dsl accepting data from HTTP clients and sending it to the route
> below before replying to the client
> 2. A "backend" route that receives an Exchange and sends it to a JMS queue
>
> By default, although the JMS queue gets the message, a stack trace occurs
> because the queue did not respond. So I set the backend route to be InOnly
> and now no stack trace occurs.
>
> However, the remaining part of my rest dsl route does not execute.
>
> So how do I accept some REST request, fire off an asynchronous JMS message,
> and reply to the HTTP client?
>
> Thanks,
>
> James



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message