ARTEMIS-609 fix interceptor XML docs
This commit is contained in:
parent
d3e81ca882
commit
04298136b7
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue