Yes, but most people use a DefaultMessageListenerContainer instead of a SimpleMessageListenerContainer (READ THE SPRING REFERENCE MANUAL TO UNDERSTAND THE DIFFERENCES).

The most common attributes for the DMLC are exposed on the message-driven-channel-adapter, so there usually is no need to specify the bean externally.