qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith W <keith.w...@gmail.com>
Subject Re: [Java Broker] Invalid routing key
Date Tue, 11 Jul 2017 22:18:38 GMT
Hello Vavricka,

This looks like a recent regression on master introduced
(unintentionally I suspect) by QPID-7635.
Please create a new JIRA with the details.

Thanks Keith.

On 11 July 2017 at 15:15, Vavricka <vavricka.tomas@gmail.com> wrote:
> Hi,
>
>  I have a issue with sending message with routing key to Java broker. Java
> Broker always denies access.
>
>  Java Broker version is latest trunk. Client version is 0.11.1.
>
> related ACL:
>
> ACL ALLOW-LOG FIXGW ACCESS VIRTUALHOST
> ACL ALLOW-LOG FIXGW PUBLISH EXCHANGE name="request.FIXGW"
> routingKey="TradeReport*"
>
> Client code:
>
> TextMessage message = session.createTextMessage("...");
> message.setJMSCorrelationID(UUID.randomUUID().toString());
> message.setJMSType("TradeReport");
>
> Java Broker log:
>
> ...
> 2017-07-11 15:55:31,003 DEBUG [IO-/172.23.38.39:40030]
> (o.a.q.s.s.a.c.RuleSet) - Checking against rule: Rule[identity='ALL',
> action=AclAction[action=Action[operation=All, object=All, properties={}],
> firewallRule=null], permission=DENY_LOG]
> 2017-07-11 15:55:31,003 DEBUG [IO-/172.23.38.39:40030]
> (o.a.q.s.s.a.c.RuleSet) - Action matches.  Result: DENY_LOG
> 2017-07-11 15:55:31,003 INFO  [IO-/172.23.38.39:40030] (q.m.a.denied) -
> [con:2(FIXGW@/172.23.38.39:40030/default)/ch:1] ACL-1002 : Denied : Publish
> Exchange {ROUTING_KEY=request.FIXGW, NAME=request.FIXGW,
> VIRTUALHOST_NAME=default}
> 2017-07-11 15:55:31,003 DEBUG [IO-/172.23.38.39:40030]
> (o.a.q.s.m.AbstractConfiguredObject) - authorise returned DENIED
> 2017-07-11 15:55:31,003 DEBUG [IO-/172.23.38.39:40030] (o.a.q.s.p.frame) -
> SEND[/172.23.38.39:40030|1] :
> Detach{handle=0,closed=true,error=Error{condition=not-allowed,description=Permission
> ACTION(publish) is denied for : Exchange 'request.FIXGW' on VirtualHost
> 'default'}}
> 2017-07-11 15:55:31,003 DEBUG [IO-/172.23.38.39:40030]
> (o.a.q.s.s.d.DerbyMessageStore) - REMOVE called on message: 3
> 2017-07-11 15:55:31,003 DEBUG [IO-/172.23.38.39:40030]
> (o.a.q.s.p.v.f.FrameHandler) - RECV 0 bytes
> ...
>
> In log there is routing key same as name. But in client was routing key
> specified as TradeReport.
>
> Vavricka
>
>
>
> --
> View this message in context: http://qpid.2158936.n2.nabble.com/Java-Broker-Invalid-routing-key-tp7664724.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message