Could not find a matching subscription for the message

Home Page Forums BizTalk 2004 – BizTalk 2010 Could not find a matching subscription for the message

Viewing 1 reply thread
  • Author
    Posts
    • #13049

      Hi,

      I got this error:
      \”Could not find a matching subscription for the message.
      The Messaging engine failed to process a message submitted by adapter:FILE.. \”

      The thing I am doing is that I created an orchestration that get an input from a recieved port (form1, say) and do some manipulation bits on it then send it to a send port which sends (form2, say). both ports of FILE type.

      form2 will be saved in a folder called folder1.

      Another orchestration (from another project) will pick up form2 and will save it to a database using the SQL adapter.

      I think the problem is in folder1 where there is no matching subscription. I don’t know how to solve this problem.

      Can anyone kindly help me?

    • #13050

      I guess I will go for the Direct Binding thing..

      Many thanks for you help. I really appreciate it.

      • #13051

        The no matching subscription error is caused when a message is published to the MessageBox and Biztalk cannot find a subscriber for that message.

        Receive ports and Orchestrations publish to the MessageBox
        Send Ports and Orchestrations subscribe to messages from the MessageBox

        Based on your scenario it could be either of the receive ports reporting the error.

        The each orchestration needs to be bound to its respective receive port, enlisted and started. This can be done using the Biztalk Explorer.

        p.s. If you wish to pass a message to another orchestration, writing it to a file is probably not the best way. You can use direct ports, start orchestration or call orchestration. The orchestrations do not need to be in the same project to do this.

        • #13052

          You need to be a bit wary when using direct ports.

          A direct receive port will create a subscription of:
          BTS.MessageType = [i:06e305e3d8]type of the receive shape message[/i:06e305e3d8]
          + any filter you set on the receive shape

          If you do not specify any additional filters on the receive shape then the orchestration will consume every message of that type published to the messagebox irrespective of origin. This may be what you want but can cause a loop if your orchestration sends a message of the same type.

          Also, if you have multiple subscribers to one message, each subscriber will receive a copy of that message.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.