if (!unit.hasAttachment(RubyAppMetaData.ATTACHMENT_KEY)) {
return;
}
Destinationizer service = new Destinationizer(unit, globalTarget);
log.debugf("Deploying destinationizer for deployment unit '%s'", unit.getName());
context.getServiceTarget().addService(MessagingServices.destinationizer(unit), service)
.setInitialMode(Mode.ACTIVE)