[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] [Commented] (AMQ-2354) Default the ServerUrl to vm://brokerName?create=false when an embedded
From:       "Gary Tully (JIRA)" <jira () apache ! org>
Date:       2014-03-31 9:59:17
Message-ID: JIRA.12483702.1250239851902.35387.1396259957136 () arcas
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/AMQ-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955066#comment-13955066 \
] 

Gary Tully commented on AMQ-2354:
---------------------------------

[~davsclaus] that sounds like a sensible enhancement to me.

> Default the ServerUrl to vm://brokerName?create=false when an embedded broker is \
>                 specified with brokerXmlConfig
> ---------------------------------------------------------------------------------------------------------------
>  
> Key: AMQ-2354
> URL: https://issues.apache.org/jira/browse/AMQ-2354
> Project: ActiveMQ
> Issue Type: Improvement
> Components: JCA Container
> Affects Versions: 5.2.0
> Reporter: Michael McKibben
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 5.10.0
> 
> Attachments: Default_ServerUrl_to_embedded_broker.patch
> 
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
> 
> 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 was sent by Atlassian JIRA
(v6.2#6252)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic