Hello,
we are currently implementing a microservice that we connect to the Yuuvis ActiveMQ via JMS. We have followed this example (https://help.optimal-systems.com/yuuvis_develop/display/onpremise/Messaging Service Usage) and so far everything is working fine.
Now the question: The example implies that a JMS message can contain n documents/items.
{
"messages": [
{
"itemid": "7FA37B7A959A421E8769EB4FAA18F39F",
"versionid": "ECE2CCF164174D8CAE86E598C8EA392C",
"disableQueing": false,
"messageid": "0E0E453A2CD44491ABB99FFA1D729660",
"action": "new",
"typeid": "DF56A82C63AE402F894B5FFAABCAFE58",
"version": 1,
"typename": "thetype"
}
]
}
Up to now we could not reproduce an JMS message with multiple dcuments in the DEV environment. Since we work with redeliveries ,for example if the subsequent processing goes wrong, we actually always want a 1:1 relationship between document and JMS message.
Is it possible to configure that it is always a 1:1 relationship?
When would there be multiple documents in one message?
Bonus question:
Is it "safe" to consume the dead letter queue (ActiveMQ.DLQ) or is Yuuvis consuming this queue?
Many thanks and best regards
Martin