ESManagement Integration

compared with
Current by Christophe Hamerling
on May 03, 2012 11:43.

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

Changes (1)

View Page History

For now, this is hacked by adding the NS URL in the code itself: If we receive a message with a locally supported local name, we add the NS URL manually. Due to this fix, this ESManagement channel must only be used with care. For all other WSN related stuff, the best way is to use the standard WSN channel exposed by the DSB which supports these badly defined topics...

Supported topics for this esmanagement API are hardcoded in org.petalslink.dsb.kernel.esmanagement.NotificationProxy
{code:language=java} static final QName CREATION_TOPIC = new QName("http://www.petalslink.org/resources/event/1.0",
"CreationResourcesTopic", "bsm");

static final QName RAWREPORT_TOPIC = new QName("http://www.petalslink.org/rawreport/1.0",
"RawReportTopic", "bsm");{code}