Hi Carl,

Just running through some scenarios for the ACLs and just wondered how the
C++ broker handles a publish being denied by the acl?

The Java broker will currently drop the connection and report the error as
per AMQP. However, it may better to use the message return mechanism. Would
be good to have a common handling between the two brokers.

The scenario I had was a client that received data from an external source
and used a property of that data to determine the routing key for topic
publication. If the client is using say Mule and has a pool of connections
if a new topic is specified by the downstream source then dropping the
connections on publication will result in a performance impact to all of the
data being publish even thought it is authorised.


+-----------------+
| Broker          |
+-----------------+
 |(allow rk=ibm) |
 |               |(deny rk=apple)
 |               |  [Close connections]
+------------------+
| Connection Pool  |
+------------------+
| Mule Publisher   |
+------------------+
 |(ibm)          |(apple)
 |               |
+-------------+  |
| Data Source |  |
+-------------+  |
    +-------------+
    | Data Source |
    +-------------+

(Sorry for the Rich Text email, just wanted to be sure the ASCII art came
through)

Regards

Martin
--
Martin Ritchie

Reply via email to