use of org.apache.activemq.command.XATransactionId in project activemq-artemis by apache.
the class XATransactionIdTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
XATransactionId info = (XATransactionId) object;
info.setFormatId(1);
info.setGlobalTransactionId("GlobalTransactionId:1".getBytes());
info.setBranchQualifier("BranchQualifier:2".getBytes());
}
use of org.apache.activemq.command.XATransactionId in project activemq-artemis by apache.
the class XATransactionIdTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
XATransactionId info = (XATransactionId) object;
info.setFormatId(1);
info.setGlobalTransactionId("GlobalTransactionId:1".getBytes());
info.setBranchQualifier("BranchQualifier:2".getBytes());
}
use of org.apache.activemq.command.XATransactionId in project activemq-artemis by apache.
the class XATransactionIdTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
XATransactionId info = (XATransactionId) object;
info.setFormatId(1);
info.setGlobalTransactionId("GlobalTransactionId:1".getBytes());
info.setBranchQualifier("BranchQualifier:2".getBytes());
}
use of org.apache.activemq.command.XATransactionId in project activemq-artemis by apache.
the class XATransactionIdTest method createObject.
@Override
public Object createObject() throws Exception {
XATransactionId info = new XATransactionId();
populateObject(info);
return info;
}
use of org.apache.activemq.command.XATransactionId in project activemq-artemis by apache.
the class XATransactionIdTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
XATransactionId info = (XATransactionId) object;
info.setFormatId(1);
info.setGlobalTransactionId("GlobalTransactionId:1".getBytes());
info.setBranchQualifier("BranchQualifier:2".getBytes());
}
Aggregations