ARTEMIS-609 fix interceptor XML docs

This commit is contained in:
Justin Bertram 2018-01-22 15:01:04 -06:00 committed by Clebert Suconic
parent d3e81ca882
commit 04298136b7
3 changed files with 6 additions and 6 deletions

View File

@ -8,13 +8,13 @@ ActiveMQ Artemis allows an application to use an interceptor to hook into the me
Once you have your own interceptor class add it to the broker.xml as follows:
<configuration>
<core>
...
<remoting-incoming-interceptors>
<class-name>org.apache.activemq.artemis.amqp.example.SimpleAmqpInterceptor</class-name>
</remoting-incoming-interceptors>
...
</configuration>
</core>
With an interceptor you can handle various events in message processing. In this example, a simple interceptor, SimpleAmqpInterceptor, is implemented and configured. When the example is running, the interceptor will display the value of a string property of a sample AMQP message.

View File

@ -8,13 +8,13 @@ ActiveMQ Artemis allows an application to use an interceptor to hook into the me
Once you have your own interceptor class add it to the broker.xml as follows:
<configuration>
<core>
...
<remoting-incoming-interceptors>
<class-name>org.apache.activemq.artemis.mqtt.example.SimpleMQTTInterceptor</class-name>
</remoting-incoming-interceptors>
...
</configuration>
</core>
With an interceptor you can handle various events in message processing. In this example, a simple interceptor, SimpleMQTTInterceptor, is implemented and configured. When the example is running, the interceptor will modify the payload of a sample MQTT message.

View File

@ -8,13 +8,13 @@ ActiveMQ Artemis allows an application to use an interceptor to hook into the me
Once you have your own interceptor class, add it to the broker.xml, as follows:
<configuration>
<core>
...
<remoting-incoming-interceptors>
<class-name>org.apache.activemq.artemis.jms.example.SimpleInterceptor</class-name>
</remoting-incoming-interceptors>
...
</configuration>
</core>
With interceptors, you can handle various events in message processing. In this example, a simple interceptor, SimpleInterceptor, is implemented and configured. When the example is running the interceptor will print out each events that are passed in the interceptor. And it will add a string property to the message being delivered. You can see that after the message is received, there will be a new string property appears in the received message.