Page 1 of 1

Notify 3rd party system after sandbox deployed

Posted: Mon Jul 18, 2016 12:15 pm
by fmello
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.

Re: Notify 3rd party system after sandbox deployed

Posted: Fri Aug 05, 2016 1:17 pm
by RapidTransit
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.