[ https://issues.apache.org/jira/browse/QPID-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Ross resolved QPID-2365. ---------------------------- Resolution: Fixed > Reroute messages on a queue - remove messages from a queue and send them to > an exchange > --------------------------------------------------------------------------------------- > > Key: QPID-2365 > URL: https://issues.apache.org/jira/browse/QPID-2365 > Project: Qpid > Issue Type: New Feature > Components: C++ Broker > Affects Versions: 0.7 > Reporter: Ted Ross > Assignee: Ted Ross > Priority: Minor > Fix For: 0.7 > > > The Queue.Purge method simply discards messages (as it should) without > sending them to an alternate exchange, even if one is configured for the > queue. > There are cases where it is desirable to take messages from a queue and > re-route them through an exchange. In this case, a new method > (Queue.Reroute) should be added. The proposed spec for this method follows: > <method name="reroute" desc="Remove all or some messages on this queue and > route them to an exchange"> > <arg name="request" dir="I" type="uint32" desc="0 for all messages or n>0 > for n messages"/> > <arg name="useAltExchange" dir="I" type="bool" desc="Iff true, use the > queue's configured alternate exchange; > iff false, use exchange named in > the 'exchange' argument"/> > <arg name="exchange" dir="I" type="sstr" desc="Name of the exchange to > route the messages through"/> > </method> > This method allows for messages to be sent to the alternate exchange (if > configured) or to an exchange specified by the caller. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org