activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McKibben (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-2354) Default the ServerUrl to vm://brokerName?create=false when an embedded broker is specified with brokerXmlConfig
Date Fri, 14 Aug 2009 08:58:35 GMT

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

Michael McKibben updated AMQ-2354:
----------------------------------

    Attachment: Default_ServerUrl_to_embedded_broker.patch

Patch to default the ServerUrl

> Default the ServerUrl to vm://brokerName?create=false when an embedded broker is specified
with brokerXmlConfig
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2354
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2354
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JCA Container
>    Affects Versions: 5.2.0
>            Reporter: Michael McKibben
>            Priority: Minor
>         Attachments: Default_ServerUrl_to_embedded_broker.patch
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> By default, a hardcoded ServerUrl resource configuration property must be specified in
the ra.xml to connect to a broker. However, when using an embedded broker initialized from
the BrokerXmlConfig configuration property, the ServerUrl should be defaulted to vm://brokerName
(where brokerName is obtained via Broker.getBrokerName()). This would enable more flexibility
in configuring the embedded broker name (e.g. using spring property substitution to name)
as opposed to hardcoding as vm://localhost or some other uri in the ra.xml.
> I've created a patch against trunk to ActiveMQResourceAdapter.java that adds this feature.

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


Mime
View raw message