Notify 3rd party system after sandbox deployed

Information and discussions on the Broadleaf Commerce Admin Tool

Moderator: jocanas

fmello
Newbie
Newbie
Posts: 1
Joined: Mon Jul 18, 2016 11:12 am

Notify 3rd party system after sandbox deployed

Postby fmello » Mon Jul 18, 2016 12:15 pm

Hi,

I need to notify some 3rd party systems, after a price update deploy.
I already checked that the approvals are jobs that can be scheduled, but so far, I couldn't find where these jobs, specifically price updates, are executed.

Where can I find the code that execute this update, and, what is the best approach to trigger 3rd party systems?

Thank you very much.

RapidTransit
Intermediate
Intermediate
Posts: 79
Joined: Wed Feb 20, 2013 7:42 am

Re: Notify 3rd party system after sandbox deployed

Postby RapidTransit » Fri Aug 05, 2016 1:17 pm

JPA Entity Listener Annotations won't work, you can add in your own Hibernate Specific Listeners or
Override or implement the custom persistence handlers and use a queue,
If you have PostgreSQL you can even use the Async Notifications system or Use pl/python or pl/java to remotely update inside a database trigger.

Recommended Queues:
You need it distributed and super fast but needs ZooKeeper, Kafka
You need something that integrates well with Spring and the setup is super easy but requires Erlang: RabbitMQ
Super Fast Synchronous Writes, one producer many consumers, only one object is created per event, used by investors for data feeds: Chronicle Queue
In memory Queue really fast, also used by LMax for Forex I believe: Disruptor

There are other queues but I've found those 4 above will accomplish 99% of what anyone will ever need.


Return to “Broadleaf Commerce Admin”

Who is online

Users browsing this forum: Google [Bot] and 2 guests