i am trying to record Tibco rendezvous traffic using half-bridge implementation.
In a simulated environment all is working properly, but i have the following error recording real tibrv transaction:
| Message: Script throw an exception: bsh.EvalError: Sourced file: inline evaluation of: ``// Set the message in a real VSI response object _logger.info(" <<< RESPONSE: " . . . '' : Error in method invocation: Method setBody(com.tibco.tibrv.TibrvMsg) not found in class'com.itko.lisa.vse.stateful.model.TransientResponse' : at Line: 4 : in file: inline evaluation of: ``// Set the message in a real VSI response object
Any advice is appreciated.
I don't recall using a setBody in my half-bridging post, so I don't know what logic is before that line. As far as I remember, setBody takes a string or a byte array, but it looks like you're trying to pass a TibrvMsg object into it. A blind guess is to convert the TibrvMsg to a byte array or a string before setting it as the body, depending on where and how you're converting between TibrvMsg and the VSI message format?