Hi ,

Hope following links help you
http://maninda.blogspot.com/2013/01/writing-custom-mediator-for-wso2-esb.html
http://wso2.com/library/2936/

On Tue, Nov 4, 2014 at 12:06 PM, Lahiru Chandima <[email protected]> wrote:

> Hi Waruna,
>
> My OSGi bundle is active. mediate() method of the mediator gets called
> without a problem. The problem is that serializeSpecificMediator() doesn't
> get called.
>
> Hi Isuru,
>
> Isn't  it org.wso2.carbon.mediator.service.ui.AbstractMediator.serialize()
> method (which needs to be implemented in UI bundle mediator class) which UI
> bundle uses for serializing the mediator config to XML? I haven't deployed
> a mediator configuration UI bundle yet for this mediator.
>
> Thanks
>
>
>
> On Tue, Nov 4, 2014 at 11:56 AM, Isuru Ranawaka <[email protected]> wrote:
>
>> Hi Lahiru,
>>
>> Mediator serializer   is for write mediator configuration object to XML
>> file which is used when saving configuration from UI to file system. Check
>> by saving your configuration from UI.
>>
>> Thanks
>> isuruR
>>
>> On Tue, Nov 4, 2014 at 11:47 AM, Waruna Perera <[email protected]> wrote:
>>
>>> Hi Lahiru,
>>>
>>> can you check whether your bundle got activated vi Osgi console?
>>>
>>>
>>> Thanks
>>>
>>> On Tue, Nov 4, 2014 at 11:34 AM, Lahiru Chandima <[email protected]>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am writing a new ESB mediator and I cannot figure out the need of a
>>>> mediator serializer (extension of AbstractMediatorSerializer) for a
>>>> mediator.
>>>>
>>>> Also, in the new mediator I created, if I add a breakpoint in
>>>> serializeSpecificMediator() method in my mediator serializer and debugged,
>>>> the breakpoint never gets hit (during ESB startup or when the mediator
>>>> receives an event to mediate).
>>>>
>>>> Does anybody know what is the need of a mediator serializer and when
>>>> does the serializeSpecificMediator() method get called?
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> Lahiru Chandima
>>>> *Senior Software Engineer*
>>>> Mobile : +94 (0) 772 253283
>>>> [email protected]
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Waruna Perera
>>> Senior Software Engineer - Test Automation
>>> Mobile: +94 77 3867037
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Best Regards
>> Isuru Ranawaka
>> M: +94714629880
>> Blog : http://isurur.blogspot.com/
>>
>
>
>
> --
> Lahiru Chandima
> *Senior Software Engineer*
> Mobile : +94 (0) 772 253283
> [email protected]
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to