Skip to main content
Kofax

Destination Match Not Found Dispatching to Default Destination when importing custom XML file

21752

QAID # 21752 Published 

Question / Problem:

What can cause an issue where importing a custom XML file does not get processed by the destination configured in the rules, but by the default destination which is shown in the KC Plug-In log:

[DestinationLookup] Destination match not found. Dispatching to default destination.

How can I resolve this issue?

Answer / Solution:

This issue can be caused by the Xml Root being blank in the custom XML file so it cannot match the XML type in the destination configured in the rule.

Below is an excerpt from the KC Plug-In installation log file:

2016-02-18 22:08:50,060 INFO [Thread=13] [MCMessageProvider] Downloaded message header 
for Message ID=f49ef573-feb2-4d6f-ad38-3cbd692d65b7, MessageFileName=, 
RecipientAddress= kofax
2016-02-18 22:08:50,060 INFO [Thread=13] [MessageMonitor] Finding destination ... 
2016-02-18 22:08:50,060 INFO [Thread=13] [DestinationLookup] Looking up destination queue
2016-02-18 22:08:50,060 INFO [Thread=13] [DestinationLookup] Address:kofax
2016-02-18 22:08:50,060 INFO [Thread=13] [DestinationLookup] Recipientlist:kofax
2016-02-18 22:08:50,060 INFO [Thread=13] [DestinationLookup] Service:WEB-SERVICE 
2016-02-18 22:08:50,060 INFO [Thread=13] [DestinationLookup] Xml Root:
2016-02-18 22:08:50,060 INFO [Thread=13] [DestinationLookup] Xml Namespace: 
2016-02-18 22:08:50,060 INFO [Thread=13] [DestinationLookup] Subject:
2016-02-18 22:08:50,060 INFO [Thread=13] [DestinationLookup] 
Originator:web.service@kic.ed
2016-02-18 22:08:50,076 INFO [Thread=13] [DestinationLookup] Destination match not 
found.Dispatching to default destination.
2016-02-18 22:08:50,076 INFO [Thread=13] [DestinationLookup] Default destination: 
Destination1

To resolve this issue, the custom XML type has to be properly constructed so that it complies with the custom XML file including specifying the Xml Root so that it can match the XML type in the destination which will allow the rule to match it.

Applies to:

Product Version
KIC 2.5