[ 
https://issues.apache.org/jira/browse/QPID-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Ritchie updated QPID-543:
--------------------------------

    Fix Version/s:     (was: M3)
                   M2.1

> Add ability to register custom exchange types 
> ----------------------------------------------
>
>                 Key: QPID-543
>                 URL: https://issues.apache.org/jira/browse/QPID-543
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Java Broker
>    Affects Versions: M2
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>            Priority: Minor
>             Fix For: M2.1
>
>
> Allow the broker to be customized by adding custom exchanges to a virtual 
> host.  
> Add configuration to the config.xml file to allow declaration of custom 
> exchange types:
>                 <custom-exchanges>
>                     
> <class-name>org.apache.qpid.server.exchange.SystemExchangeType</class-name>
>                 </custom-exchanges>
> class-name must be of a class which implements ExchangeType:
> public interface ExchangeType<T extends Exchange>
> {
>     public AMQShortString getName();
>     public Class<T> getExchangeClass();
>     public T newInstance(VirtualHost host, AMQShortString name,
>                          boolean durable, boolean autoDelete) throws 
> AMQException;
> }
> the name is the name of the exchange *type* (to be used when declaring a new 
> exchange of this type)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to