Construct a new element from the data object. Sets the pointer to null.paramkey The keyparampayload The data object. this.msg = msg; this.next = null; this.key = msg.getUniqueId(); this.payload = payload; this.destination = destination;
this.msg = msg; this.next = null; this.key = msg.getUniqueId(); this.payload = payload; this.destination = destination;
Set the next element.paramnext The next element. this.next = next;
this.next = next;
Get the data object from the element.returnThe data object from the element. return msg;
return msg;
return destination;
return payload!=null?payload.getErrorHandler():null;
Get the unique message idreturnthe unique message id return key;
return key;
return payload;
Get the next element.returnThe next element. return next;
return next;