case DIRECTMESSAGE:
if (te.getProperties().getUser() == null || te.getProperties().getUser().trim().isEmpty()) {
throw new IllegalArgumentException(
"Producer type set to DIRECT MESSAGE but no recipient user was set.");
} else {
return new DirectMessageProducer(te);
}
case TIMELINE:
if (uriSplit.length > 1) {
switch (TimelineType.fromUri(uriSplit[1])) {
case USER: