Hi All,

As discussed in the mail thread [1], Enrich mediator has too many
parameters, and some combinations are not work. I just checked the
combination and found the working scenarios as follows.


*Target: type*
*custom* *envelope* *body* *property*
*Source: type* *custom* OK Not Support OK OK
*envelope* No need Not Support No need OK
*body* OK Not Support No need OK
*property* OK Not Support OK OK
*inline* OK Not Support OK OK


Here
No need -
1. source: type="envelope"
    target: type="custom"
    Reason: To enrich a target element, XPath expression will be defined
against the request payload and that will be ended up adding a SoapEnvelop
inside another SoapEnvelope. Also envelop can be keep in a property by
                 providing get-property('....') as Target XPath. However
this scenario can be addressed from enrich mediator configurations.
                 source: type="envelope"
                 target: type="property"

2. source: type="envelope"
    target: type="body"
    Reason: This is not required because it will be like put an envelope
within an envelope.

3. source: type="body"
    target: type="body"
    Reason: This is not required. If we want we can put body within the
property. Then it comes under the scenario
                 source: type="body"
                 target: type="property"

Not Support - Management console doesn't support this combinations.

Could you please give some suggestion whether those are correct.

[1] http://mail.wso2.org/mailarchive/architecture/2015-May/020110.html


Regards,

*Nirthika Rajendran*
*Associate Software Engineer*
WSO2 Inc : http://wso2.org
Mobile       : +94 77 719 8368
LinkedIn    : https://www.linkedin.com/in/nirthika/
Blog          : http://nirthi-tech-stuff.blogspot.com/

On Thu, Jul 20, 2017 at 9:56 AM, Nirthika Rajendran <[email protected]>
wrote:

> Hi Malaka,
>
> Noted. We will do.
>
>
> Regards,
>
> *Nirthika Rajendran*
> *Associate Software Engineer*
> WSO2 Inc : http://wso2.org
> Mobile       : +94 77 719 8368 <+94%2077%20719%208368>
> LinkedIn    : https://www.linkedin.com/in/nirthika/
> Blog          : http://nirthi-tech-stuff.blogspot.com/
>
> On Wed, Jul 19, 2017 at 9:09 PM, Malaka Silva <[email protected]> wrote:
>
>> Hi Nirthika,
>>
>> Find my comments inline.
>>
>> On Wed, Jul 19, 2017 at 5:36 PM, Nirthika Rajendran <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> I am working on the Jira improvement [1]. The earlier discussion on this
>>> can see on the mail thread [2] and [3].
>>>
>>> As mentioned in the mail thread [2] if we remove the attributes "type"
>>> and "property" and support both via Xpath only, then should it support for
>>> backward compatibility?
>>>
>> ​Guess so. Otherwise existing integration can break.​
>>
>> We can properly document the recommended way to use it once this is
>> completed.
>>
>>>
>>> Please give some suggestions.
>>>
>>> [1] https://wso2.org/jira/browse/ESBJAVA-3688
>>> [2] http://mail.wso2.org/mailarchive/architecture/2015-May/020110.html
>>> [3] http://mail.wso2.org/mailarchive/architecture/2015-May/020075.html
>>>
>>>
>>> Thanks.
>>> Regards,
>>> *Nirthika Rajendran*
>>> *Associate Software Engineer*
>>> WSO2 Inc : http://wso2.org
>>> Mobile       : +94 77 719 8368 <077%20719%208368>
>>> LinkedIn    : https://www.linkedin.com/in/nirthika/
>>> Blog          : http://nirthi-tech-stuff.blogspot.com/
>>>
>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Associate Director / Architect
>> M: +94 777 219 791 <+94%2077%20721%209791>
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> https://wso2.com/signature
>> http://www.wso2.com/about/team/malaka-silva/
>> <http://wso2.com/about/team/malaka-silva/>
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>
>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to