Notification Support

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

Changes (5)

View Page History
}{code}

There are also some simple Java clients available to ease the developer life. 

h1. Configuration

h2. conf/subscribers.cfg

This file allows to create subscribers at DSB startup. All the subscribers defined in this file will be automatically added as subscribers in the notification engine and so will receive notifications when some notifications are published in the associated topics. For example:

For example:
{code}subscriber0.consumerReference=http://localhost:9000/services/RawService
subscriber0.topicName=DSBTopic
In the previous snippet, the subscriber0 will receive notifications on _[http://localhost:9000/services/RawService_ when] a message is published in the topic DSBTopic (\+ topic URI and Prefix).

{info}Note that you can add several subscribers using the same format, just change the prefix (subscriber0) in order to be unique in the fine. file.{info}
{info}You can use CSV values in the consumerReference value if these subscribers need to subscribe to the same topic. {info}

h2. conf/consumer.cfg