How can we Limit the messages need to be send JMS Queue Tibco - tibco-ems

I need to limit only 5 response messages to be send per second on jms send queue Activity.

Related

MQTT delivery acknowledgement

Let's say I know that i have one subscriber per topic. Is there any way I can publish to an mqtt broker and block until I get acknowledgement from the subscriber? (or even if i had multiple subscribers, is there a way to block until at least 1 subscriber acks?)
No, there is NO end to end delivery notification in the MQTT protocol.
If you want to have delivery notification you have to implement it yourself.

MQTT delete published message which is not yet subscribed or recieved at subscriber

Is there any way we can delete a message which has been published but not subscribed or recieved at subscriber?
No, but if the client has never subscribed to the topic then it won't be queued for that client.
If we are talking about a message queued for a persistent subscription, then again no as this would directly contradic the QOS delivery requirements.
As of MQTT v5 it is possible to set a TTL (time to live) for a message which means if it times out before being delivered then the message will self destruct and not be delivered. But it is still not possible to reach out and remove it any other way.

how to notify subscription failure in publisher client of mqtt broker

I have a vernemq MQTT broker.
I have tried to publish the message via QOS 1 to broker from client-1 and got a PUBACK message from the broker. But this message is not received in subscriber client-2.
How to notify this failure in client-1
You don't.
There is no end to end delivery notification in MQTT. The QOS levels only cover 1 leg of delivery at a time.
e.g. A publisher publishing at QOS 1 will confirm that the message reaches the broker and no further. But any given client (there could be 0 to n) may have subscribed at QOS 0 so there would be no confirmation of down stream delivery.
If you want end to end delivery you need to build it yourself by including a unique id in the message payload and have any subscribed client reply (normally on a separate topic) that they have received that message.

Outlook REST API Webhooks Subscription Retry if Application has Crashed

I would like to use the Outlook REST API webhooks / subscriptions to update calendar events in my application. I couldn't find any information in the documentation regarding whether the Outlook API will retry sending Notifications if my application is down / crashed or sends a 500 error. I know the Google API uses exponential backoff to retry sending. Does Outlook do something similar?
Thanks,
Adam
Yes. From the Microsoft Graph documentation:
When the subscribed resource changes, the webhooks facility sends a notification to your notification URL with the following payload. The notification endpoint must send a response of 200 or 204 with no response body within 30 seconds otherwise the notification attempt will be retried at exponentially increasing intervals. Services that consistently take 30 seconds or more may be throttled and receive a sparser notification set.

MQTT.js ability to know all subscriber receive publish message

YEP, as the question said is it possible to let publisher know all subscriber who subscribe to the particular topic receive message that was sent out in MQTT
There is no mechanism in MQTT to tell the publisher that a subscriber has received a message. At the higher QOS levels the broker will acknowledge to the publisher it has received the message before forwarding it on to the subscribers and nothing more.
If you want acknowledgement you have to implement it yourself, the usual way yo do this would be to include a message id in the body of the message and have every subscriber publish this id back on a topic unique to the subscriber e.g.
received/[subscriber client id]
The publisher could then subscribe to received/+ to check.

Resources