This discussion is archived
0 Replies Latest reply: Jul 11, 2012 3:47 AM by 943640 RSS

Dequeue Condition for Message Payload

943640 Newbie
Currently Being Moderated
Hi experts ,
My requirement is that :I have 2 Composites in my Application which are going to listen same Aqueue but I want
SubComposite1 to dequeue only message where "LocalName" is "Create" .
SubComposite2 to dequeue only message where "LocalName" is "Update" .

Example of message :
<msg_out:FusionXFamilyEvent xmlns:msg_out="http://xmlns.oracle.com/apps/common/acr/events">
<msg_out:Namespace>/entity/events/edl/OrganizationEO</msg_out:Namespace>
<msg_out:LocalName>Create</msg_out:LocalName>
<msg_out:Payload>
.......
</msg_out:Payload>
</msg_out:FusionXFamilyEvent>

In DequeueAdapter (AqAdapter),I have added this condition ,but its not working .
<activation-spec className="oracle.tip.adapter.aq.inbound.AQDequeueActivationSpec">
<property name="DequeueCondition" value="LocalName='Create'"/>
<property name="Consumer" value="Sample"/>
<property name="QueueName" value="ACR_XFAMILY_EVENT_Q"/>
</activation-spec>

please help me in this solution

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points