We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, trying to implement redelivery policy on SUBSCRIBE and have no luck.
Is there any way to reach that?
Example:
const { WebSocket } = require('ws'); const { Client } = require('@stomp/stompjs'); Object.assign(global, { WebSocket }); const client = new Client({ brokerURL: 'ws://0.0.0.0:61624', reconnectDelay: 5000, heartbeatIncoming: 4000, heartbeatOutgoing: 4000, onConnect: () => { client.publish({ destination: '/queue/Test.Queue', body: JSON.stringify({ field1: 'value1', field2: 'value2' }), headers: { 'correlation-id': '6666fe222570b857770849fe', persistent: 'true' }, skipContentLengthHeader: true, }); client.subscribe( '/queue/Test.Queue', message => { console.log('tick'); message.nack(); }, { ack: 'client-individual', 'activemq.maximumRedeliveries': '5', 'activemq.redeliveryDelay': '1000', 'activemq.useExponentialBackOff': 'true', 'activemq.backOffMultiplier': '2', 'activemq.initialRedeliveryDelay': '500', 'activemq.maximumRedeliveryDelay': '60000', }, ); }, }); client.activate();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, trying to implement redelivery policy on SUBSCRIBE and have no luck.
Is there any way to reach that?
Example:
The text was updated successfully, but these errors were encountered: