locked
set up the Dynamic send port from one receive location RRS feed

  • Question

  • what is the best method for this below scenario?

    Files are droping into one receive location which is transfer to different customers PHYSICAL location after biztalk validation.
    Here i am using schema, map and custom pipeline at receive side.

    Need to route the files based on customer id column to different send folder.


    Thanks, Raja
    Tuesday, September 29, 2009 12:54 PM

Answers

  • Hi Raja,

    I would suggest you to use the concept of Content Based Routing to implement your scenario. I believe in your scenario there is no complex logic once BizTalk recieve the message, So You can avoid using Orchestration here.
    Use Outbound maps at the send port to transform one message format to another.

    Here is the steps to implement Content Based Routing(messaging only scenario)

    1. Promote the CustomerId element as Property field( Select Quick promotion to promote the field----It will automatically create a property schema for you)

    2. Once your CustomerId is property promoted field, You can access this field at port lebel.

    3. Now create all the send port as required and apply the filter as........

        SendPort A
              Filter --- 
    UrPropertySchema.CustomerId == A

         SendPort B
               Filter --- 
    UrPropertySchema.CustomerId == B

       SendPort C
               Filter --- 
    UrPropertySchema.CustomerId == C


    In the above way, You can route the incoming message to Corresponding send port based on the CustomerId value.


    Regards,
    Abhijit
    Abhijit Mahato Please "Mark as Answer" if Post has Answered the Question
    • Marked as answer by Raja.Kumaravel Wednesday, September 30, 2009 4:58 AM
    Tuesday, September 29, 2009 1:19 PM
  • you can promote customerid and create filter on send port
    KiranMP
    • Proposed as answer by Tariq Majeed Tuesday, September 29, 2009 1:14 PM
    • Marked as answer by Raja.Kumaravel Wednesday, September 30, 2009 4:58 AM
    Tuesday, September 29, 2009 1:04 PM

All replies

  • you can promote customerid and create filter on send port
    KiranMP
    • Proposed as answer by Tariq Majeed Tuesday, September 29, 2009 1:14 PM
    • Marked as answer by Raja.Kumaravel Wednesday, September 30, 2009 4:58 AM
    Tuesday, September 29, 2009 1:04 PM
  • Hi Raja,

    I would suggest you to use the concept of Content Based Routing to implement your scenario. I believe in your scenario there is no complex logic once BizTalk recieve the message, So You can avoid using Orchestration here.
    Use Outbound maps at the send port to transform one message format to another.

    Here is the steps to implement Content Based Routing(messaging only scenario)

    1. Promote the CustomerId element as Property field( Select Quick promotion to promote the field----It will automatically create a property schema for you)

    2. Once your CustomerId is property promoted field, You can access this field at port lebel.

    3. Now create all the send port as required and apply the filter as........

        SendPort A
              Filter --- 
    UrPropertySchema.CustomerId == A

         SendPort B
               Filter --- 
    UrPropertySchema.CustomerId == B

       SendPort C
               Filter --- 
    UrPropertySchema.CustomerId == C


    In the above way, You can route the incoming message to Corresponding send port based on the CustomerId value.


    Regards,
    Abhijit
    Abhijit Mahato Please "Mark as Answer" if Post has Answered the Question
    • Marked as answer by Raja.Kumaravel Wednesday, September 30, 2009 4:58 AM
    Tuesday, September 29, 2009 1:19 PM