[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't redirect from REST POST input to AMQ endpoint


Looks like you are using POJO classes. Then mind that AMQ needs to be
configured with a whitelist of approved classes/package names.

On Tue, Apr 24, 2018 at 6:05 PM, Steve Hiller <shetc@xxxxxxxxxxxxx> wrote:
> Hi Folks,
> Does anybody know why I can't redirect from REST POST input to AMQ endpoint? As follows:
> <rest path="/mypath">
>   <post id="myRoute" produces="text/plain" consumes="application/json" type="my.Class">
>     <to uri="amq:queue:MyProcessor" />
>   </post>
> </rest>
> Thanks,
> Steve

Claus Ibsen
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2