Handling REST responses when you need to change the exchange body

2021-05-13 Thread David Shubert
I want to create a REST endpoint where my processor does some work, creates a POJO with values I want to return, and puts some other values on a Google pubsub using that component. To return the POJO in REST I have to make it the body of the exchange. However to send something to pubsub I have to

Need to ACK messages before end of route

2021-04-20 Thread David Shubert
Hello I have Camel routes that look like this: Processor1->Processor2->Processor3->Processor4 Processor1 does some business logic. Processor2 puts a message on Google PubSub. Processor3 takes the message from Google PubSub. Processor4 uses info from the message to do things. My problem is that

Re: Need to ACK messages before end of route

2021-04-20 Thread David Shubert
-> Processor2 route logically separate from Processor3 -> > Processor4? If yes, put them in separate routes. Mark the "put on Google > PubSub" InOnly then it won't wait for a reply. > -Steve > > > -Original Message- > > From: David Shubert > >