It has been a while since I worked with this and it may have been updated.
This might not be your issue but I my camel-server.xml looks like this,
note that the converters and aliases tags are not necessary, but if you
find yourself needing an xstream alias or convert, that is where you would
configure them. I would check your server log file too.

  <dataFormats>
       <xstream id="xstream-json" driver="json">
           <converters>
           </converters>
           <aliases>
           </aliases>
       </xstream>
  </dataFormats>

  <route>
     <from uri="cxfrs://bean://rsServer"/>
     <policy ref="droolsPolicy">
        <unmarshal ref="xstream-json" />
        <to uri="drools:node1/ksession1" />
        <marshal ref="xstream-json" />
     </policy>
 </route>



On Fri, Jan 6, 2012 at 2:03 PM, kofibentum [via Drools] <
ml-node+s46999n3638652...@n3.nabble.com> wrote:

> Yes I am using tomcat 6. Can you point me to the part of the documentation
> that has instructions for configuring the server to consume json? I have
> not come across that yet.
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://drools.46999.n3.nabble.com/Sending-requests-to-the-Drools-Execution-Server-from-an-external-source-tp1776466p3638652.html
>  To unsubscribe from Sending requests to the Drools Execution Server from
> an external source, click 
> here<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1776466&code=amVmZm1heEBnbWFpbC5jb218MTc3NjQ2NnwxNDc1NzMzMzc4>
> .
> NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: 
http://drools.46999.n3.nabble.com/Sending-requests-to-the-Drools-Execution-Server-from-an-external-source-tp1776466p3638685.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to