public synchronized URI getForwardedMessageURI() { if (this.forwardedMessageURI == null) { this.forwardedMessageURI = getEnvelopePropertyURIValue(WONMSG.HAS_FORWARDED_MESSAGE); } return this.forwardedMessageURI; }
public synchronized URI getIsRemoteResponseToMessageURI() { if (this.isRemoteResponseToMessageURI == null) { this.isRemoteResponseToMessageURI = getEnvelopePropertyURIValue(WONMSG.IS_REMOTE_RESPONSE_TO); } return this.isRemoteResponseToMessageURI; }
public synchronized URI getSenderNeedURI() { if (this.senderNeedURI == null) { this.senderNeedURI = getEnvelopePropertyURIValue(WONMSG.SENDER_NEED_PROPERTY); } return this.senderNeedURI; }
public synchronized URI getSenderNodeURI() { if (this.senderNodeURI == null) { this.senderNodeURI = getEnvelopePropertyURIValue(WONMSG.SENDER_NODE_PROPERTY); } return this.senderNodeURI; }
public synchronized URI getReceiverURI() { if (this.receiverURI == null) { this.receiverURI = getEnvelopePropertyURIValue(WONMSG.RECEIVER_PROPERTY); } return this.receiverURI; }
public synchronized URI getReceiverNeedURI() { if (this.receiverNeedURI == null) { this.receiverNeedURI = getEnvelopePropertyURIValue(WONMSG.RECEIVER_NEED_PROPERTY); } return this.receiverNeedURI; }
public synchronized URI getReceiverNodeURI() { if (this.receiverNodeURI == null) { this.receiverNodeURI = getEnvelopePropertyURIValue(WONMSG.RECEIVER_NODE_PROPERTY); } return this.receiverNodeURI; }
public synchronized URI getSenderURI() { if (this.senderURI == null) { this.senderURI = getEnvelopePropertyURIValue(WONMSG.SENDER_PROPERTY); } return this.senderURI; }
public synchronized URI getIsResponseToMessageURI() { if (this.isResponseToMessageURI == null) { this.isResponseToMessageURI = getEnvelopePropertyURIValue(WONMSG.IS_RESPONSE_TO); } return this.isResponseToMessageURI; }
public synchronized URI getCorrespondingRemoteMessageURI() { if (this.correspondingRemoteMessageURI == null) { this.correspondingRemoteMessageURI = getEnvelopePropertyURIValue(WONMSG.HAS_CORRESPONDING_REMOTE_MESSAGE); } return this.correspondingRemoteMessageURI; }
@Override public <T> T evaluate(Exchange exchange, Class<T> type) { WonMessage message = (WonMessage) exchange.getIn().getHeader(header); return type.cast(message.getEnvelopePropertyURIValue(property)); } }
public synchronized WonMessageType getMessageType() { if (this.messageType == null) { URI type = getEnvelopePropertyURIValue(WONMSG.HAS_MESSAGE_TYPE_PROPERTY); this.messageType = WonMessageType.getWonMessageType(type); } return this.messageType; }
public synchronized WonMessageDirection getEnvelopeType() { if (this.envelopeType == null) { URI type = getEnvelopePropertyURIValue(RDF.type); if (type != null) { this.envelopeType = WonMessageDirection.getWonMessageDirection(type); } } return this.envelopeType; }
public synchronized WonMessageType getIsResponseToMessageType() { if (this.isResponseToMessageType == null) { URI typeURI = getEnvelopePropertyURIValue(WONMSG.IS_RESPONSE_TO_MESSAGE_TYPE); if (typeURI != null) { this.isResponseToMessageType = WonMessageType.getWonMessageType(typeURI); } } return isResponseToMessageType; }
public synchronized URI getEnvelopePropertyURIValue(URI propertyURI) { Property property = this.completeDataset.getDefaultModel().createProperty(propertyURI.toString()); return getEnvelopePropertyURIValue(property); }