Factory method initializes a server-side sequence using saved data. This
is necessary after a restart in order for the system to recognize incoming
messages belonging to a sequence established before the restart.
try {
return RMDestination.getRMDestination().createSequence(
new URI(settings.acksTo),
settings.sequenceId,
settings.companionSequenceId,
new SequenceConfig(settings));
} catch (RMException e) {
//TODO I18
logger.log(Level.SEVERE,
"ServerSequenceFactory.createSequence failed", e);
return null;
} catch (URISyntaxException ee) {
//TODO I18
logger.log(Level.SEVERE,
"ServerSequenceFactory.createSequence failed", ee);
return null;
}