Hi,
Is there a way I can specify a destination on the jms outbound adapter using a header property? I couldn't find anything related to this in the reference documentation or the samples. Not sure if this is supported? I'd really appreciate any inputs. Thanks.
I couldn't get this to work. I get this exception :Code:<int-jms:outbound-channel-adapter explicit-qos-enabled="true" extract-payload="true" connection-factory="connectionFactory" id="SOME.ID" channel="SOME.CHANNEL" destination="#{headers.queueName}" />
Cheers!Code:org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 0): Field or property 'headers' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext'


Reply With Quote