Is it necessary to start a bridge on a separate thread?
new Thread() {
publicvoid run() {
try {
Mama.start(bridge);
}
catch (RuntimeException
e) {
}
}.start();
}
}
Or should we use this
Mama.startBackground(bridge,
new MamaStartBackgroundCallback() {
@Override
publicvoid onStartComplete(intparamInt) {
logger.info("mama started");
}
});
For the second option, the callback is never called.
Thanks,
Hari
---
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution
of the material in this e-mail is strictly forbidden.
Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures and to http://www.db.com/unitedkingdom/content/privacy.htm for information about privacy.