I'm creating the following bean using xml
config:
<int-ip:tcp-outbound-gateway id="gate"
request-channel="input"
reply-channel="clientBytes2StringChannel"
connection-factory="factory"/>
How can I configure this based on a condition, eg a value included in application.properties?
I spring 4 I could use @ConditionalOnExpression("SpEL")
, but how could I achieve the same in xml?
Aucun commentaire:
Enregistrer un commentaire