IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Unable to use custom context variable in dynamic routing endpoint

  • 1.  Unable to use custom context variable in dynamic routing endpoint

    Posted Mon April 11, 2022 10:43 AM

    Using API gateway 10.11

    In the Request Processing step, I am creating a custom context variable using the setContextVariable service. I intend to use the value of this custom context variable as the endpoint in the Routing Protocols step.

    I see when I use the Straight Through Routing, the above custom variable is evaluated perfectly and the native invocation happens on the endpoint set as the value of this custom variable.
    image

    However, the custom variable isnt evaluated in case of Dynamic Routing.

    image

    Any reasons for this behaviour.
    Thanks


    #webMethods
    #API-Management
    #API-Gateway


  • 2.  RE: Unable to use custom context variable in dynamic routing endpoint

    Posted Tue April 19, 2022 06:08 AM

    Hi Farhan,
    The dynamic routing policy will be deprecated in future releases and the configurations will be migrated to conditional routing policy. Can you try this use case using Conditional Routing Policy.

    Regards.


    #API-Management
    #API-Gateway
    #webMethods