Looks like a good idea to me. Please create a JIRA issue for this so that it makes it into the change notes.
On 6/2/07, Dennis Byrne <[EMAIL PROTECTED]> wrote:
I'm putting together a REST adapter for that will run w/in activemessaging [1] . The activemessaging gateway polls the broker (via the ajax servlet behind /demo/amq) and dispatches messages to ruby consumers. The dispatching logic requires the destination name to be somewhere in the response. Do any of you have an objection to changing the demo so that the destination name is in a response header? I would prefer this to be in the header rather than the body so that the adapter could be used to consume from other REST services w/out being tied to the details of the body format. For the same reason, I'd like to move the destination name from the body of the POST requests to an HTTP header as well, so that rails application developers do not need to code this into the bodies of to-be-sent-messages. I'm using a three day old apache-activemq-4.2-SNAPSHOT . [1] http://code.google.com/p/activemessaging/wiki/ActiveMessaging -- Dennis Byrne
-- Regards, Hiram Blog: http://hiramchirino.com
