On Fri, 24 Jan 2020 at 12:48, Gordon Sim <[email protected]> wrote: > > On 24/01/2020 11:03 am, akabhishek1 wrote: > > Problem/Situation - We are using ServiceBus to receive the message and > > acknowledge the message after completing all the process/transformation. > > > > As one of the processor(Mule Batch) needs every object should be > > serializable. We can't acknowledge the message before batch execution which > > could be reason for Message loss. > > > > As acknowledgement needs JMSMessage which is not serializable, so we are > > trying to find out alternative to acknowledge message without using > > JMSMessage object. > > Acknowledgement is of course tied to a specific active socket. Even if > you *could* serialize and then deserialize it, it would no longer be > associated the socket and so would be of no use for acknowledgement anyway. > >
Yep, I was glossing over all this since they wont be serializable. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
