Hi,
Thank you very much :-)

Paweł

On Wed, Nov 12, 2014 at 10:23 PM, Ivan Brusic <i...@brusic.com> wrote:

> There is also an ActionModule
>
> public void onModule(ActionModule module) {
>     module.registerAction(MyAction.INSTANCE, TransportMyAction.class);
> }
>
> It is always easier to follow existing plugins.
>
> Cheers,
>
> Ivan
>
> On Wed, Nov 12, 2014 at 3:50 PM, Pawel <pro...@gmail.com> wrote:
>
>> Hi,
>> I'm thinking about building custom ClusterAction. I see that I can build
>> custom classes for Request, NodeResponse and NodesRespone but it is not
>> clear to me how I can register my custom action.
>>
>> In case of Rest action it was quite easy because in plugin i simply use
>>
>>     public void onModule(RestModule module) {
>>         module.addRestAction(RestCustomAction.class);
>>     }
>>
>> but I cannot find any examples how I can do this in case of custom
>> ClusterAction.
>>
>> Does anybody have any example how I can achieve this? Thanks for your
>> help.
>>
>> --
>> Paweł Róg
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to elasticsearch+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elasticsearch/CAF9ZkbPoNd4yZLdow_sMJmpN8dr0krEipTX9SbMOp%2BugM0L8_w%40mail.gmail.com
>> <https://groups.google.com/d/msgid/elasticsearch/CAF9ZkbPoNd4yZLdow_sMJmpN8dr0krEipTX9SbMOp%2BugM0L8_w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCTD3ZTreOTPXzd1ifwTqyFj3rzRd8KOsZxs8y6qg-M3Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCTD3ZTreOTPXzd1ifwTqyFj3rzRd8KOsZxs8y6qg-M3Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAF9ZkbPQAoyQZ2drbscN%3DwV-rVXG7r%3DppvHWx%2BdkqrtF%2B_Cwvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to