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

Rajith Attapattu updated QPID-3688:
-----------------------------------

    Attachment: QPID-3688.patch

This patch doesn't change the AMQDestination into a Java bean as I'm not sure 
if we should allow fields like routing-key, exchange-name etc modifiable via 
setter methods.

Infact the Destination implementations should be immutable once a BURL or an 
Address string is set.

However in order to satisfy the app server situation, I think it's a reasonable 
compromise to introduce a default constructor and a setter method for BURL and 
Address String. The rest of the fields should be immutable.

                
> AMQDestination and children should conform to the JavaBean pattern
> ------------------------------------------------------------------
>
>                 Key: QPID-3688
>                 URL: https://issues.apache.org/jira/browse/QPID-3688
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: 0.12
>         Environment: All platforms.
>            Reporter: Weston M. Price
>            Assignee: Rajith Attapattu
>             Fix For: Future
>
>         Attachments: QPID-3688.patch
>
>
> In order to support deploying and managing AMQDestination's in JEE 
> application servers, conformance to the JavaBean design pattern is preferred 
> as many appellation servers have their own management infrastructure for 
> supporting Administrative objects that require, at the very least, a default 
> constructor to create and bootstrap the destination into the server address 
> space. 
> The AMQDestination and children classes should support this to make JEE 
> integration easier and more consistent.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to