MessageProducer transactionRequestProducer = session.createProducer (session.createQueue ("catchUpRequest"));
m = session.createBytesMessage ();
BCSAPIMessage.Hash.Builder builder = BCSAPIMessage.Hash.newBuilder ();
builder.setBcsapiversion (1);
builder.addHash (ByteString.copyFrom (new Hash (hash).toByteArray ()));
m.writeBytes (builder.build ().toByteArray ());
byte[] response = synchronousRequest (session, transactionRequestProducer, m);
if ( response != null )
{
TrunkUpdateMessage tu = TrunkUpdateMessage.fromProtobuf (BCSAPIMessage.TrunkUpdate.parseFrom (response));