Skip to Content
author's profile photo Former Member
Former Member

[WebSphere] Mediation vs UDF

Hello,

can we say that a UDF is similiary to the mediations in WebSphere?

Both are programmable and can handle messages and can connect other systems.

thanks

chris

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 02:23 PM

    HI,

    Yes the few of the functionalities are similar to the UDFs used in Mapping.

    As WebSphere ESB comes complete with a set of mediation primitives from which you can build up your mediation logic. Similarly you could have the existing Nodes in Graphical mapping that can be used to customize the logics.

    Adding a custom mediation (one of the supplied primitives) is the simplest way to add your own custom mediation logic. This is effectively a place in the mediation flow that calls out to another SCA Component which you implement yourself to provide your own logic.

    But the custom mediation can be re-used that is not possible with UDFs across the Mapings. In PI 7.1. this feature is added.

    With custom mediation You can have effectively call out to another service which provides the implementation of your mediation logic. But in UDF you can't call another services this way. i.e. calling another UDF internally etc.

    Thanks

    swarup

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 02:18 PM

    Hi,

    Both are the same in most of the aspects.

    Find this on mediation in Websphere.

    http://www.ibm.com/developerworks/websphere/techjournal/0504_murphy/0504_murphy.html

    UDF can be used in graphical mapping depends upon the requirement like If u wanted to do manuplication in data which can not be done using the standard XI functions.

    Thanks,

    Vijaya.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 02:22 PM

    Hi,

    UDF is used to map source and target fields. The input for the basic UDF is a String and returns a String.

    Advanced UDF contains Context also as parameter.

    The values in source is come as String in UDF.

    By using result.addValue() we can get out put of the string.

    Thanks,

    RamuV

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.