You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Samuel Liard (JIRA)" <ji...@apache.org> on 2011/07/19 11:01:59 UTC
[jira] [Created] (AMQ-3406) Enable BrokerServiceAware support for
DiscoveryAgent
Enable BrokerServiceAware support for DiscoveryAgent
----------------------------------------------------
Key: AMQ-3406
URL: https://issues.apache.org/jira/browse/AMQ-3406
Project: ActiveMQ
Issue Type: Improvement
Components: Transport
Affects Versions: 5.5.0
Environment: All environment
Reporter: Samuel Liard
Attachments: TransportConnector.java
Please add BrokerServiceAware support for DiscoveryAgent.
You need to change createDiscoveryAgent method on org.apache.activemq.broker.TransportConnector
protected DiscoveryAgent createDiscoveryAgent() throws IOException {
if (discoveryUri != null) {
DiscoveryAgent agent = DiscoveryAgentFactory.createDiscoveryAgent(discoveryUri);
if( agent!=null && agent instanceof BrokerServiceAware ) {
((BrokerServiceAware)agent).setBrokerService(brokerService);
}
return agent;
}
return null;
}
Thx
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMQ-3406) Enable BrokerServiceAware support for
DiscoveryAgent
Posted by "Samuel Liard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Samuel Liard updated AMQ-3406:
------------------------------
Attachment: TransportConnector.java
Modification of createDiscoveryAgent()
> Enable BrokerServiceAware support for DiscoveryAgent
> ----------------------------------------------------
>
> Key: AMQ-3406
> URL: https://issues.apache.org/jira/browse/AMQ-3406
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Transport
> Affects Versions: 5.5.0
> Environment: All environment
> Reporter: Samuel Liard
> Labels: BrokerServiceAware, DiscoveryAgent
> Attachments: TransportConnector.java
>
>
> Please add BrokerServiceAware support for DiscoveryAgent.
> You need to change createDiscoveryAgent method on org.apache.activemq.broker.TransportConnector
> protected DiscoveryAgent createDiscoveryAgent() throws IOException {
> if (discoveryUri != null) {
> DiscoveryAgent agent = DiscoveryAgentFactory.createDiscoveryAgent(discoveryUri);
> if( agent!=null && agent instanceof BrokerServiceAware ) {
> ((BrokerServiceAware)agent).setBrokerService(brokerService);
> }
> return agent;
> }
> return null;
> }
> Thx
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (AMQ-3406) Enable BrokerServiceAware support for
DiscoveryAgent
Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dejan Bosanac resolved AMQ-3406.
--------------------------------
Resolution: Fixed
Fix Version/s: 5.6.0
Assignee: Dejan Bosanac
Patch applied with svn revision 1148646. Thanks!
> Enable BrokerServiceAware support for DiscoveryAgent
> ----------------------------------------------------
>
> Key: AMQ-3406
> URL: https://issues.apache.org/jira/browse/AMQ-3406
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Transport
> Affects Versions: 5.5.0
> Environment: All environment
> Reporter: Samuel Liard
> Assignee: Dejan Bosanac
> Labels: BrokerServiceAware, DiscoveryAgent
> Fix For: 5.6.0
>
> Attachments: TransportConnector.java
>
>
> Please add BrokerServiceAware support for DiscoveryAgent.
> You need to change createDiscoveryAgent method on org.apache.activemq.broker.TransportConnector
> protected DiscoveryAgent createDiscoveryAgent() throws IOException {
> if (discoveryUri != null) {
> DiscoveryAgent agent = DiscoveryAgentFactory.createDiscoveryAgent(discoveryUri);
> if( agent!=null && agent instanceof BrokerServiceAware ) {
> ((BrokerServiceAware)agent).setBrokerService(brokerService);
> }
> return agent;
> }
> return null;
> }
> Thx
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira