*
* @param jobDescription
* @return MessageSource
*/
public static MessageSource createMessageSource (MonitorJobDescription jobDescription) {
MessageSourceDescription messageSourceDescription = jobDescription
.getMessageSourceDescription ();
if (messageSourceDescription instanceof TextFileMessageSourceDescription) {
return TextFileMessageSource.createInstance (messageSourceDescription);
} else if (messageSourceDescription instanceof RandomMessageSourceDescription) {