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):
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!