Hi Maz,

In addition to what Kasun has mentioned, you can use following
documentation link.

https://docs.wso2.com/display/ESB481/Writing+a+WSO2+ESB+Mediator

Thanks,
Chanaka

On Fri, Feb 13, 2015 at 2:54 AM, KasunG Gajasinghe <[email protected]> wrote:

>
> You need the dependency synapse-core which contains the AbstractMediator
> class.
>
> <dependency>  <groupId>org.apache.synapse</groupId>  <artifactId
> >synapse-core</artifactId>
> <version>2.1.3-wso2v1</version>
>   </dependency>
>
> You might also want to specify the correct maven repository as in -
> https://github.com/wso2/product-esb/blob/master/pom.xml
>
>
> On Fri, Feb 13, 2015 at 2:09 AM, Maz Lakadia <[email protected]> wrote:
>
>> I am trying to include a custom mediator. I have created a .java file
>> which extends the AbstractMediator class as needed, with a Mediate()
>> method. However, when I try to compile the file it fails (probably because
>> it doesn't know where the Abstract Mediator files are). How do I compile
>> the file properly to include it in the project?
>>
>> Thanks.
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Chanaka Fernando
Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 773337238
Blog : http://soatutorials.blogspot.com
LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
Twitter:https://twitter.com/chanakaudaya
Wordpress:http://chanakaudaya.wordpress.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to