tree: b44214b9b0362ff9f70c7bbc81da735b711e1ae9 [path history] [tgz]
  1. src/
  2. pom.xml
  3. readme.md
examples/features/standard/broker-msg-auth-plugin/readme.md

Broker Plugin Example

To run the example, simply type mvn verify from this directory, or mvn -PnoServer verify if you want to start and create the broker manually.

This example shows how a message plugin can be used to filter message sent to a consumer depending on that consumers roles. Credentials for a user are by default invalidated every 10 seconds so this plugin may cause excessive authentication if used without configuring the security-invalidation-interval limit appropriately.