[jira] [Commented] (AMQ-4953) Virutal Destination is not auto created when using Composite Destination

2014-01-21 Thread Gary Tully (JIRA)

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

Gary Tully commented on AMQ-4953:
-

with networks, either the virtual dest or the original target needs to 
forwarded, not both. Assuming all brokers have the virtual dest configured in 
the same way that is.

W.r.t competing; the virtual bits are done as part of an interceptor on the 
send call, so the message goes to the target and the additional virtual dests 
before there is any dispatch. So there is no competition with consumers.

> Virutal Destination is not auto created when using Composite Destination
> 
>
> Key: AMQ-4953
> URL: https://issues.apache.org/jira/browse/AMQ-4953
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.9.0
> Environment: JBoss A-MQ 6.1.0.redhat-306
>Reporter: Jason Shepherd
>Priority: Minor
>
> When creating a composite queue (by editing activemq.xml) it doesn't seem 
> like the queue is actually created.
> When I try to connect to the composite queue (from another server), the 
> folowing Exception is thrown:
> Caused by: java.lang.SecurityException: User alice is not authorized to 
> create: queue://FOO.BAR
> We doesn't allow the user ('alice') to create queues so this seems to 
> indicate that the queue doesn't exist according to A-MQ.
> Part from my activemq.xml:
> {code}
> http://activemq.apache.org/schema/core";
> brokerName="${broker-name}"
> dataDirectory="${data}"
> advisorySupport="false"
> start="false">
> ...
> 
> 
> 
>   
>  groupClass="org.apache.karaf.jaas.boot.principal.RolePrincipal">
>   
>  write="admin,alice" admin="admin" />
>  write="admin,alice" admin="admin" />
>  read="admin,alice" write="admin,alice" admin="admin,alice" /> 
>   
> 
>   
> 
> 
> ...
> 
> 
> 
> 
>   
>  
>
>  
>
>  
>
> 
>  
>
> 
> {code}
> ** Note: This is destinct from AMQ-4320 which was about the destinations 
> contained within the Composite Destinations, not being created.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (AMQ-4953) Virutal Destination is not auto created when using Composite Destination

2014-01-20 Thread Jason Shepherd (JIRA)

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

Jason Shepherd commented on AMQ-4953:
-

In a network or brokers would it be possible for messages to be forwarded to 
networked brokers on FOO.BAR before be distributed to virtual destinations? 
Could this cause duplicate messages?

> Virutal Destination is not auto created when using Composite Destination
> 
>
> Key: AMQ-4953
> URL: https://issues.apache.org/jira/browse/AMQ-4953
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.9.0
> Environment: JBoss A-MQ 6.1.0.redhat-306
>Reporter: Jason Shepherd
>Priority: Minor
>
> When creating a composite queue (by editing activemq.xml) it doesn't seem 
> like the queue is actually created.
> When I try to connect to the composite queue (from another server), the 
> folowing Exception is thrown:
> Caused by: java.lang.SecurityException: User alice is not authorized to 
> create: queue://FOO.BAR
> We doesn't allow the user ('alice') to create queues so this seems to 
> indicate that the queue doesn't exist according to A-MQ.
> Part from my activemq.xml:
> {code}
> http://activemq.apache.org/schema/core";
> brokerName="${broker-name}"
> dataDirectory="${data}"
> advisorySupport="false"
> start="false">
> ...
> 
> 
> 
>   
>  groupClass="org.apache.karaf.jaas.boot.principal.RolePrincipal">
>   
>  write="admin,alice" admin="admin" />
>  write="admin,alice" admin="admin" />
>  read="admin,alice" write="admin,alice" admin="admin,alice" /> 
>   
> 
>   
> 
> 
> ...
> 
> 
> 
> 
>   
>  
>
>  
>
>  
>
> 
>  
>
> 
> {code}
> ** Note: This is destinct from AMQ-4320 which was about the destinations 
> contained within the Composite Destinations, not being created.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (AMQ-4953) Virutal Destination is not auto created when using Composite Destination

2014-01-20 Thread Jason Shepherd (JIRA)

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

Jason Shepherd commented on AMQ-4953:
-

Also, if a consumer subscribed to the new queue 'FOO.BAR', would it then 
compete for messages with the composite destination(s), causing some messages 
to not make it through to consumers of the composite destinations?

> Virutal Destination is not auto created when using Composite Destination
> 
>
> Key: AMQ-4953
> URL: https://issues.apache.org/jira/browse/AMQ-4953
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.9.0
> Environment: JBoss A-MQ 6.1.0.redhat-306
>Reporter: Jason Shepherd
>Priority: Minor
>
> When creating a composite queue (by editing activemq.xml) it doesn't seem 
> like the queue is actually created.
> When I try to connect to the composite queue (from another server), the 
> folowing Exception is thrown:
> Caused by: java.lang.SecurityException: User alice is not authorized to 
> create: queue://FOO.BAR
> We doesn't allow the user ('alice') to create queues so this seems to 
> indicate that the queue doesn't exist according to A-MQ.
> Part from my activemq.xml:
> {code}
> http://activemq.apache.org/schema/core";
> brokerName="${broker-name}"
> dataDirectory="${data}"
> advisorySupport="false"
> start="false">
> ...
> 
> 
> 
>   
>  groupClass="org.apache.karaf.jaas.boot.principal.RolePrincipal">
>   
>  write="admin,alice" admin="admin" />
>  write="admin,alice" admin="admin" />
>  read="admin,alice" write="admin,alice" admin="admin,alice" /> 
>   
> 
>   
> 
> 
> ...
> 
> 
> 
> 
>   
>  
>
>  
>
>  
>
> 
>  
>
> 
> {code}
> ** Note: This is destinct from AMQ-4320 which was about the destinations 
> contained within the Composite Destinations, not being created.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (AMQ-4953) Virutal Destination is not auto created when using Composite Destination

2014-01-07 Thread Timothy Bish (JIRA)

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

Timothy Bish commented on AMQ-4953:
---

I'm not sure this is a bug as I don't see anywhere in our docs that indicates 
that the we intended for these to be created on start-up as opposed to the 
normal on-demand creation we normally do.  You can work around this by adding 
to your static destination list above.  

{code}

  
  

{code}

> Virutal Destination is not auto created when using Composite Destination
> 
>
> Key: AMQ-4953
> URL: https://issues.apache.org/jira/browse/AMQ-4953
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.9.0
> Environment: JBoss A-MQ 6.1.0.redhat-306
>Reporter: Jason Shepherd
>Priority: Minor
>
> When creating a composite queue (by editing activemq.xml) it doesn't seem 
> like the queue is actually created.
> When I try to connect to the composite queue (from another server), the 
> folowing Exception is thrown:
> Caused by: java.lang.SecurityException: User alice is not authorized to 
> create: queue://FOO.BAR
> We doesn't allow the user ('alice') to create queues so this seems to 
> indicate that the queue doesn't exist according to A-MQ.
> Part from my activemq.xml:
> {code}
> http://activemq.apache.org/schema/core";
> brokerName="${broker-name}"
> dataDirectory="${data}"
> advisorySupport="false"
> start="false">
> ...
> 
> 
> 
>   
>  groupClass="org.apache.karaf.jaas.boot.principal.RolePrincipal">
>   
>  write="admin,alice" admin="admin" />
>  write="admin,alice" admin="admin" />
>  read="admin,alice" write="admin,alice" admin="admin,alice" /> 
>   
> 
>   
> 
> 
> ...
> 
> 
> 
> 
>   
>  
>
>  
>
>  
>
> 
>  
>
> 
> {code}
> ** Note: This is destinct from AMQ-4320 which was about the destinations 
> contained within the Composite Destinations, not being created.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)