File tree Expand file tree Collapse file tree
api/src/main/java/ca/bc/gov/educ/api/pen/replication/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,14 +45,15 @@ public EventHandlerDelegatorService(final ChoreographedEventPersistenceService c
4545 * @throws IOException the io exception
4646 */
4747 public void handleChoreographyEvent (@ NonNull final ChoreographedEvent choreographedEvent , final Message message ) throws IOException {
48- try {
49- final var persistedEvent = this .choreographedEventPersistenceService .persistEventToDB (choreographedEvent );
48+ // try {
49+ // final var persistedEvent = this.choreographedEventPersistenceService.persistEventToDB(choreographedEvent);
50+ log .info ("Handling event with ID: " + choreographedEvent .getEventID ());
5051 message .ack (); // acknowledge to Jet Stream that api got the message and it is now in DB.
5152 log .info ("acknowledged to Jet Stream..." );
52- this .choreographer .handleEvent (persistedEvent );
53- } catch (final BusinessException businessException ) {
54- message .ack (); // acknowledge to Jet Stream that api got the message already...
55- log .info ("acknowledged to Jet Stream..." );
56- }
53+ // this.choreographer.handleEvent(persistedEvent);
54+ // } catch (final BusinessException businessException) {
55+ // message.ack(); // acknowledge to Jet Stream that api got the message already...
56+ // log.info("acknowledged to Jet Stream...");
57+ // }
5758 }
5859}
You can’t perform that action at this time.
0 commit comments