Add empty receiveServiceName to SmtyAgentTask
Prevent receive#IncomingSystemMessage from auto-consuming messages by setting receiveServiceName to empty string instead of null. This allows AgentQueuePoller to pick up SmtyAgentTask messages before they are consumed by the receive service.
Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -27,6 +27,7 @@ | ... | @@ -27,6 +27,7 @@ |
| 27 | <!-- Agent Task Message Type --> | 27 | <!-- Agent Task Message Type --> |
| 28 | <moqui.service.message.SystemMessageType systemMessageTypeId="SmtyAgentTask" description="Agent Task" | 28 | <moqui.service.message.SystemMessageType systemMessageTypeId="SmtyAgentTask" description="Agent Task" |
| 29 | contentType="application/json" | 29 | contentType="application/json" |
| 30 | consumeServiceName="AgentServices.poll#AgentQueue"/> | 30 | consumeServiceName="AgentServices.poll#AgentQueue" |
| 31 | receiveServiceName=""/> | ||
| 31 | 32 | ||
| 32 | </entity-facade-xml> | 33 | </entity-facade-xml> | ... | ... |
-
Please register or sign in to post a comment