I would like to know what's the best way to add 'request-handler-advice-chain' into custom outbound gateway?
I am trying to add request-handler-advice-chain to spring-integration-smpp and have been scratching my head for a while in which I did wrong. I copied the xml schema from spring-integration-http and my test works that the outbound gateway can recognize the advice I put in, but it seems like it is not creating proxy for my gateway and applying my advice.
My schema is similar like
I use the same advice for http outbound gateway, i can see my advice is run on console. But for the smpp outbound gateway it looks like Spring does not wrap the outbound gateway with proxy like the way it does on http outbound gateway.Code:... <xsd:import namespace="http://www.springframework.org/schema/integration" schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.2.xsd" /> ... <xsd:element name="outbound-gateway"> ... <xsd:complexType> <xsd:complexContent> <xsd:extension base="smppGatewayType"> <xsd:choice minOccurs="0" maxOccurs="2"> <xsd:element minOccurs="0" maxOccurs="1" ref="session"/> <xsd:element name="request-handler-advice-chain" type="integration:adviceChainType" minOccurs="0" maxOccurs="1" /> </xsd:choice> ...
Can you guys see something I missed during the process ?