ClientTransactionIdStrategy clientTransactionIdStrategy,
TransactionLogHandler transactionLogHandler, WebTarget baseWebTarget) {
final CommandProcessor commandProcessor = new BasicCommandProcessor();
// UserCommands
commandProcessor.subscribe(UserGetCommand.class,
new UserGetCommandHandler(baseWebTarget));
commandProcessor.subscribe(UserListCommand.class,
new UserListCommandHandler(baseWebTarget));
// PlanCommands
commandProcessor.subscribe(PlanGetCommand.class,
new PlanGetCommandHandler(baseWebTarget));