Hello @Joshua_Buckton ,
thank you for the quick reply. The messages are of protobuf type. They can be correctly consumed, i.e. I see the correct values on the client.
However, I decided to switch the implementaion so that I
- Use durable of type
Named
(instead of SharedQueued
)
- Consume messages actively via an iterator (instead of asynchronously per callback).
With this, I hope to gain more control on the consumer side wrt. to when and in which chunks the messages are consumed. Also, there will be no need in a live connection and the communication “UM → consumer”, i.e. the calls will be from consumer to UM. Are these valid thoughts?
I.e. on the consumer side, I’d open a connection to UM, read events, and then close the connection. This would be repeated as a scheduled job.
The only important thing for me is that the messages are saved and held on UM if a sender puts them there but there is no consumer at the moment. Will the above parameters (esp. Named
type) fulfill these requirements?
Still, I’d be interested in how to set up the durable subscription so that only certain messages (with a certain value in a field) get there and all the other messages get filtered on the server. So that no unneeded data are sent over to the client. Sure, the filtering can be made on the client side, but I’d prefer to do it on the server.
Thank you!
#Universal-Messaging-Broker#webMethods