You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bookstore service where you create books and authors.
A SellingPoint service that has the current model :
A SellingPoint entity with name, longitude , latitude , and a Set<Book>
Book is an entity duplicated from the bookstore service and simplified , it contains just one attribute isbn
Now when a the bookstore service creates a book, I would like to send a message/call an endpoint to the SellingPoint service to add the book entry there as well (and automatically , see it as a sort of sync) .
What is the best way to do it ?
Call an endpoint on the SellingPoint service on JPA creation in the bookstore service : this one is easy to implement
But maybe using Camel/activemq would be a nice thing to show , @cmoulliard wdyt ?
The text was updated successfully, but these errors were encountered:
We could use Camel to expose the Selling endpoint as Rest Service but ... remember what we discussed this Monday. Due to the time constraint for the delivery - 19/09, we have decided to postpone the inclusion of integration stuff !
To answer to your question, we could also easily implement that using camel ate the condition that the camel-jpa fraction works well. I haven't yet tested it.
I have the following architecture :
name
,longitude
,latitude
, and aSet<Book>
isbn
Now when a the bookstore service creates a book, I would like to send a message/call an endpoint to the SellingPoint service to add the book entry there as well (and automatically , see it as a sort of sync) .
What is the best way to do it ?
The text was updated successfully, but these errors were encountered: