You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2014/12/17 21:36:18 UTC

[jira] [Created] (DISPATCH-89) Model the legacy topic exchange behavior of qpidd

Ken Giusti created DISPATCH-89:
----------------------------------

             Summary: Model the legacy topic exchange behavior of qpidd
                 Key: DISPATCH-89
                 URL: https://issues.apache.org/jira/browse/DISPATCH-89
             Project: Qpid Dispatch
          Issue Type: New Feature
          Components: Routing Engine
    Affects Versions: 0.2
            Reporter: Ken Giusti
             Fix For: 0.3


With Qpidd, a user can define a binding from an Exchange to a target queue.  The binding uses a key that is compared to a message's subject field.  If the key matches, the message is routed to the target queue for that binding.

It should be possible to emulate this behavior using the dispatch router.

Example:

User defines a mappings from a target address (the 'exchange') to a different target address(es) (the 'queue').  These mappings (the 'bindings') are driven by a pattern match against the inbound message's subject field.

Messages arriving at the router from any link whose target address has bindings defined are not immediately routed.  Prior to routing, the message's subject field is extracted and compared against each binding defined for the target.  A list of new target addresses is created containing the target address from each binding that satisfied the pattern match.  The message is then routed to each new target address.

The pattern syntax should be the same 'dotted string' notation from qpidd, including '*' and "#' wildcarding.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org