Thank you Scott

On Wed, Feb 22, 2017 at 5:51 AM, Scott Gray <scott.g...@hotwaxsystems.com>
wrote:

> Hi Milan,
>
> You may want to consider implementing your own service engine
> implementation, there really isn't much to it and from there you can send
> the events however you like to wherever you like.  Take a look at the
> HttpEngine as an example.  Once you've defined an engine you then need to
> define a service that will use it (or multiple services) and then you can
> call that service either inline as the triggering event occurs or via SECAs
> or EECAs.
>
> In terms of existing engines you could re-use:
> - HttpEngine - sends a POST to the URL defined in the service and expects
> an OFBiz-specific XML serialized document in return (intended for
> communication between OFBiz instances I believe)
> - SOAP
> - XML-RPC
> - JMS
>
> But you're still going to have to do the work of wiring up the notifying
> service(s) to the underlying event in the system, there's no tool that
> avoids that task.
>
> Regards
> Scott
>
> On 22 February 2017 at 04:16, Milan Agatonovic <milan.agatono...@gmail.com
> >
> wrote:
>
> > Thanks but I am looking to more contemporary way, since the app that
> should
> > expose the API to ofbiz is yet to be built by 3rd party and will not
> > support SOAP, only REST.
> > Any published attempts to send event to kafka, rabbit or some message
> other
> > queue?
> >
> > On Tue, Feb 21, 2017 at 4:00 PM, Jacques Le Roux <
> > jacques.le.r...@les7arts.com> wrote:
> >
> > > Hi Milan,
> > >
> > > You can also directly use SOAP, though there is a small limitation. The
> > > external client must use a slightly changed Apache CXF
> > >
> > > See https://issues.apache.org/jira/browse/OFBIZ-4245 for details
> > >
> > > HTH
> > >
> > > Jacques
> > >
> > >
> > >
> > > Le 21/02/2017 à 12:15, Milan Agatonovic a écrit :
> > >
> > >> Thanks Mirko,
> > >> apart from JMS and JNDI-ed Broker, is there any other "out-of-the-box"
> > way
> > >> that you are aware of?
> > >>
> > >> On Tue, Feb 21, 2017 at 11:59 AM, Vogelsme <mirko.vogelsme...@lynx.de
> >
> > >> wrote:
> > >>
> > >> @Pierre
> > >>> Thats pretty much what we did. Will check out that page later.
> > >>>
> > >>> @Milan
> > >>> As I do not know what exactly your plan it is hard to help you.
> > >>> The OFBiz-Way would be to use the Serviceengine to connect to
> anything
> > >>> outside like an JMX Broker.
> > >>> You can define your own engine in the serviceengine.xml like '<engine
> > >>> name="jms" class="org.ofbiz.service.jms.JmsServiceEngine"/>'
> > >>> and define the service like (common/services_test.xml)
> > >>> <service name="testJMSQueue" engine="jms" location="serviceMessenger"
> > >>> invoke="testScv">...
> > >>>
> > >>> Distributed Cache Clear uses the same mechanism:
> > >>> https://cwiki.apache.org/confluence/display/OFBIZ/
> > >>> Distributed+Entity+Cache+Clear+(DCC)+Mechanism
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> View this message in context: http://ofbiz.135035.n4.nabble.
> > >>> com/send-events-from-ofbiz-tp4702636p4702683.html
> > >>> Sent from the OFBiz - User mailing list archive at Nabble.com.
> > >>>
> > >>>
> > >
> >
>

Reply via email to