@Override
	public String[] profilesToActivate() {
		if (topicExpression != null) {
			return new String[] { TOPIC_EXPRESSION_PROFILE };
		}
		else if (queueExpression != null) {
			return new String[] { QUEUE_EXPRESSION_PROFILE };
		}
		else if (keyExpression != null) {
			return new String[] { STORE_EXPRESSION_PROFILE };
		}
		return new String[] {};
	}
Check if the literal and expression values mutually exclusive (have different content).

@param literal
@param expression
@return boolean value
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/modules/metadata/RedisSinkOptionsMetadata.java