0 Replies Latest reply on Aug 4, 2011 3:55 PM by jade_simi

    WS Notification and Queues

    jade_simi

      Hi,

       

      I don't know if someone can help with this.

       

      We are trying to implement WS-Notification via Queues. In our system, we have a security gateway that will handle the subscription request and send it over to the NotificationBroker. We are not implementing WS-ReliableMessaging so to ensure that the messages are delivered, we are trying to configure the NotificationBroker to send the notification message to a Queue and rely on the Security Gateway to send the notification message to the subscriber.

       

      Browser (subscription request) --> XML Security Gateway --> Notification Broker --> Queue

       

       

      Sample Subscription request:

       

       

      Sample NotificationMessage (we want this to be sent to a queue instead of back to the NotificationConsumer. However, the message should have the original subscription address so that the Security Gateway knows where to send it to):

       

      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:b="http://docs.oasis-open.org/wsn/b-2" xmlns:add="http://www.w3.org/2005/08/addressing">

         <soap:Header/>

            

         <soap:Body>

            <b:Notify>

               <consumerAddress>http://<servername>/ConsumerWSN/NotificationComsumer</consumerAddress>

                

       

      We have tried to intercept the message and add the consumerAddress to the NotificationMessage but we can't find an API to retrieve the list of subscribers and topics. Is this scenario possible to accomplish using ServiceMix? Thanks!