Consuming message from specific Topic subscription added in Queue
I have created the queue with topic subscriptions(more than 1 topic subscription), as below.
now, I am interested in consuming message published to specific topic, like from 'Demo/Msg'. I have created the flow with queue to consume the messages published, so its giving me all messages published on topics under queue, no idea that which message is from which topic. Below is code I have implemented, how to get messages from specific topic under queue?
var endpoint = ContextFactory.Instance.CreateQueue(queue);
var Flow = InternalSolaceSession.CreateFlow(new FlowProperties()
AckMode = MessageAckMode.AutoAck
}, endpoint, null, HandleMessageEvent, HandleFlowEvent);