[jboss-jira] [JBoss JIRA] (WFLY-2069) can not switch from connector to discovery-group-name for JMS (pooled-) connection factories
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Mon Oct 7 04:03:05 EDT 2013
[ https://issues.jboss.org/browse/WFLY-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12810335#comment-12810335 ]
RH Bugzilla Integration commented on WFLY-2069:
-----------------------------------------------
Miroslav Novak <mnovak at redhat.com> made a comment on [bug 1001612|https://bugzilla.redhat.com/show_bug.cgi?id=1001612]
BZ was verified in EAP 6.2.0.ER4 by following batch:
batch
/subsystem=messaging/hornetq-server=default/connection-factory=RemoteConnectionFactory:undefine-attribute(name=connector)
/subsystem=messaging/hornetq-server=default/connection-factory=RemoteConnectionFactory:write-attribute(name=discovery-group-name,value=dg-group1)
run-batch
In this way connector for connection factory can be undefined and set discovery-group. Or discovery-group undefined and changed set connector.
This must be done in a batch or commands will fail as it is reported in description.
> can not switch from connector to discovery-group-name for JMS (pooled-) connection factories
> ---------------------------------------------------------------------------------------------
>
> Key: WFLY-2069
> URL: https://issues.jboss.org/browse/WFLY-2069
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 8.0.0.Alpha4
> Reporter: Jeff Mesnil
> Assignee: Jeff Mesnil
> Fix For: 8.0.0.Beta1
>
>
> connectors and discovery-group-name are alternative attributes of JMS (pooled) connection factories.
> If a resource defines one of this attribute, it must be able to "switch" to the other by running a batch command to:
> 1. undefine the attribute
> 2. write the value of the other attribute
> This currently does not work:
> {noformat}
> [standalone at localhost:9999 /] batch
> [standalone at localhost:9999 / #] /subsystem=messaging/hornetq-server=default/connection-factory=RemoteConnectionFactory:undefine-attribute(name=connector)
> #1 /subsystem=messaging/hornetq-server=default/connection-factory=RemoteConnectionFactory:undefine-attribute(name=connector)
> [standalone at localhost:9999 / #] /subsystem=messaging/hornetq-server=default/connection-factory=RemoteConnectionFactory:write-attribute(name=discovery-group-name,value=dg-group1)
> #2 /subsystem=messaging/hornetq-server=default/connection-factory=RemoteConnectionFactory:write-attribute(name=discovery-group-name,value=dg-group1)
> [standalone at localhost:9999 / #] run-batch
> {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS011630: Alternative attribute of (connector) is already defined."}}
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list