[ 
https://issues.apache.org/jira/browse/IGNITE-9758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647995#comment-16647995
 ] 

Stanislav Lukyanov commented on IGNITE-9758:
--------------------------------------------

Would be great to fix this in the next version (2.8?).
ConnectorMessageInterceptor is a nice capability, but it's almost unmentioned 
on readme.io, so users have no chance to find out about this.

> Document data injection via the REST API
> ----------------------------------------
>
>                 Key: IGNITE-9758
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9758
>             Project: Ignite
>          Issue Type: Task
>          Components: documentation
>    Affects Versions: 2.6
>            Reporter: Pavel Petroshenko
>            Priority: Major
>             Fix For: 2.8
>
>
> There should a documentation on how to post data via the REST API.
>  
> Just to capture what was proposed by [~ilyak] over email:
>  
> {quote}REST API will convert complex BinaryObjects into JSON by default. But 
> to put such objects via REST you will need to define your own 
> ConnectorMessageInterceptor and plug it in. You will need to define string to 
> entity mapping in onReceive. You can leave onSend returning arg.
>  
> This interface should be used:
> [https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/ConnectorMessageInterceptor.html].
>  You need to put it into ConnectorConfiguration, which you should put into 
> IgniteConfiguration.{quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to