Non-Guaranteed Messages

How do these non-guaranteed messages behave in X?  Do they get serviced as they arrive before all the messages on the Solace queue? What about all the messages that are already on the ring-buffer when the special message arrives? Is there some way to bypass those messages? If not, how many messages could there be on that ringbuffer which would have to be processed prior to processing our special message?

Have more questions? Submit a request

Comments

  • Avatar
    Amit Tikoo

    How do these non-guaranteed messages behave?

    Non-Guaranteed messages are not queued but there is a chance of losing them in flight.

    *********

    Do they get serviced as they arrive before all the messages on the Solace queue?

    Non Guaranteed messages will get serviced before the messages in queue though only after the messages which are already being processed in the platform.

    **********

    What about all the messages that are already on the ring-buffer when the special message arrives?

    Non Guaranteed message will be processed after the messages which are in the ring-buffer.

    ************

    Is there some way to bypass those messages?

    Nope.

    ************

    If not, how many messages could there be on that ring-buffer which would have to be processed prior to processing our special message?

    It’s hard to say. It depends but the default max limit for ring-buffer is 1024.