Notification Support

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (5)

View Page History
h1. Configuration

The notification configuration files are located under _$DSB/conf_ folder and are described below.

h2. topics.xml
h2. consumer.cfg

This file allows the DSB to automatically subscribes to notifications at startup and so to receive notifications when they are published in the associated topics. Note that it is also possible to subscribe on behalf of others just by setting a consumerReference which is not the DSB.
{code}subscriber0.consumerReference=http://localhost:9000/services/RawService111

{info}UNDER DEV{info}
# Subscribe to who? This is where the subscribe is sent...
subscriber0.producerReference=http://localhost:9000/services/RawService

# Topic values definition : Which topic to subscribe to...
subscriber0.topicName=DSBTopic
subscriber0.topicURI=http://www.petalslink.org/dsb/topicsns/
subscriber0.topicPrefix=dsb{code}
With such configuration, a subscribe message will be sent to http://localhost:9000/services/RawService and the consumer reference (the one which will receive notifications) will be http://localhost:9000/services/RawService111.