Class ResponseMessage
java.lang.Object
net.sourceforge.jbizmo.commons.jms.ResponseMessage
- All Implemented Interfaces:
Serializable
Container object that holds all data of JMS response message
Copyright 2023 (C) by Martin Ganserer
- Version:
- 1.0.0
- Author:
- Martin Ganserer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetText()voidsetObject(Serializable object) voidsetStatus(ResponseStatus status) void
-
Constructor Details
-
ResponseMessage
Constructor- Parameters:
operationID- the ID of the operation
-
-
Method Details
-
getOperationID
- Returns:
- the ID of the operation
-
getText
- Returns:
- an optional text
-
setText
- Parameters:
text-
-
getStatus
- Returns:
- the response status
-
setStatus
- Parameters:
status-
-
getObject
- Returns:
- an object that was created by a respective operation
-
setObject
- Parameters:
object-
-