We are actually developing an adapter for IS and it uses broker for its listener notification mechanism.
The database server has an server extension which would publish the changes in the database to broker and somehow we need to subscribe it from our adapter.
we are planning to use Broker Client APIs
BrokerClient brokerClient = new BrokerClient(broker_host, broker_name, null,
client_group, “Publish Sample #1”, null);
BrokerEvent document = new BrokerEvent(brokerClient,“wm::is::testBroker::ListenerNotificationPublishDocument”);
This is the code i am juz checking locally to publish data to the document (ListenerNotificationPublishDocument) which is created as a result of my listener notification from our adapter…
I am aware that a trigger service is a subscriber by default to the broker and my trigger service works fine when i execute the above piece of code
but how to get that data from broker through code…?
Is that rite…? and how do i subscribe to the broker…?