Ilya, folks,

This needs to be documented. Do we have a ticket?

--
Denis

On Sun, Sep 30, 2018 at 11:07 PM Ilya Kasnacheev <[email protected]>
wrote:

> Hello!
>
> Yes, into JSON.
>
> Unfortunately I don't have any ready to use examples. This is the
> interface:
>
> 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.
>
> I also suggest that this should be taken to userlist instead of devlist.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> пн, 1 окт. 2018 г. в 8:46, Pavel Petroshenko <[email protected]>:
>
>> Thanks, Ilya.
>>
>> > REST API will convert complex BinaryObjects into REST by default
>>
>> You mean "into JSON"?
>>
>> Is this documented anywhere? Any examples that you can share a link to?
>>
>> P.
>>
>> On Sun, Sep 30, 2018 at 10:06 PM Ilya Kasnacheev <
>> [email protected]> wrote:
>>
>>> Hello!
>>>
>>> Yes, this is supported. REST API will convert complex BinaryObjects into
>>> REST 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.
>>>
>>> Regards,
>>> --
>>> Ilya Kasnacheev
>>>
>>>
>>> пн, 1 окт. 2018 г. в 3:51, Pavel Petroshenko <[email protected]>:
>>>
>>> > Igniters,
>>> >
>>> > Is there a way to put user defined objects (in BinaryObject or whatever
>>> > another format) via the REST APIs [1]? According to the docs it's not
>>> > supported, but I wonder if by any chance it's implemented somewhere
>>> and is
>>> > just not officially released yet...
>>> >
>>> > Thanks,
>>> > Pavel
>>> >
>>> > [1] https://apacheignite.readme.io/docs/rest-api
>>> >
>>>
>>

Reply via email to