import akka.actor.ActorPath;
+/**
+ * This is being deprecated to use sal-protocolbuff-encoding ShardTransactionMessages.CreateTransactionReply
+ * This classes will be removed once complete integration of distribute datastore with
+ * sal-protocolbuff-encoding is done.
+ */
+
+@Deprecated
public class CreateTransactionReply {
- private final ActorPath transactionPath;
+ private final ActorPath transactionPath;
+ private final String transactionId;
+
+ public CreateTransactionReply(ActorPath transactionPath,
+ String transactionId) {
+ this.transactionPath = transactionPath;
+ this.transactionId = transactionId;
+ }
- public CreateTransactionReply(ActorPath transactionPath) {
- this.transactionPath = transactionPath;
- }
+ public ActorPath getTransactionPath() {
+ return transactionPath;
+ }
- public ActorPath getTransactionPath() {
- return transactionPath;
- }
+ public String getTransactionId() {
+ return transactionId;
+ }
}