🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Boomi/Solace: how to set dmq-eligeble=true by default for REST end points
Hi,
We have the following use case
- Apps are using Solace REST endpoints to send messages to Solace topics
- Multiple queues are subscribed to this topic
- It appears that REST clients need to set a HTTP header "Solace-DMQ-Eligible: [true|false]" in order to use the DMQ feature
Question: can we somehow set the default to true for any Solace queue which are created? Just like with JMS, see JMS Connection Factories | /jms/cf/default settings on management console page.
Best Answer
Answers
-
Hi @sjaak, I don't think there is a way to enforce a specific message property like this. You're right in that it's possible to force certain message properties using a JMS Connection Factory, one being DMQ eligibility, but this only applies to JMS.
A quick and dirty workaround could be to create a service which consumes your REST messages and re-publishes them via JMS through such a connection factory... but that isn't really a production solution!
0 -
Hi @TomF,
Thanks. For this use case, we have decided to ask the customer to add the HTTP header "Solace-DMQ-Eligible: true". This will of course work. However, we also have use cases where messages are pushed to Solace REST end points using webhooks. In practice, webhooks are often limited in terms of configuration. So, adding HTTP headers is usually not possible.It would be good if the dmq-eligible functionality can be set globally so it behaves consistently and, if you wish, independently from the underlying interface (JMS, REST, etc).
0 -
Hi @TomF As this is an old post, so I am expecting that this feature must be available now in Solace. Could you please guide me on how to enable this on console ? as our publisher is using webhooks to push the data to Solace and they don't have the possibility to use this header param "Solace-DMQ-Eligible: true".
1 -
Hi @Chintan, we've had some discussions about implementation details, but it hasn't been delivered yet. Since you're a cloud customer, please submit a support ticket so your interest is tracked. The original enhancement request ticket number is 48481.
0 -
I thought we eventually made that true by default for the REST API? Wow, that's too bad. I know it was made the default in our AMQP protocol implementation, and I convinced them to make it true for MQTT publishers as well. And our new "next-gen" APIs have this set by default.
Thanks Tom for the RT number, I've commented on that ticket as well.
2 -
Hey @sjaak, no problem! I reached out to our Product Management team a couple weeks ago to get an update… apparently this feature is now imminent… being able to override the DMQe behaviour at either the queue/endpoint, or configurable within the client profile. So… hopefully by Christmas maybe? Stay tuned!
1