camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Su (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5132) blueprint configuration of cxf endpoint inInterceptors by reference not triggered
Date Fri, 30 Mar 2012 18:20:35 GMT
blueprint configuration of cxf endpoint inInterceptors by reference not triggered
---------------------------------------------------------------------------------

                 Key: CAMEL-5132
                 URL: https://issues.apache.org/jira/browse/CAMEL-5132
             Project: Camel
          Issue Type: Bug
          Components: camel-cxf
    Affects Versions: 2.9.1
            Reporter: Tony Su


When following blueprint cxf:cxfEndpoint configuration is used:

  <cxf:cxfEndpoint id="myEP"
	address="${mtosiProtocol}://0.0.0.0:${mtosiPort}/myEP_RPC"
	serviceClass="com.mycom.MyEPRPC">
	<cxf:inInterceptors ref="wss4jInterceptor" />
  </cxf:cxfEndpoint>

The interceptor is never triggered.

When the configuration is replaced with an inline bean for the interceptor, it is again working:

  <cxf:cxfEndpoint id="myEP"
	address="${mtosiProtocol}://0.0.0.0:${mtosiPort}/myEP_RPC"
	serviceClass="com.mycom.MyEPRPC">
	<cxf:inInterceptors>
	  <bean class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
	    <argument>
		<map>
	  	  <entry key="action" value="UsernameToken" />
		  <entry key="passwordType" value="PasswordText" />
		  <entry key="passwordCallbackRef" ref="passwdCallback" />	
		  <entry key="wss4j.validator.map" >
			<map>
			  <entry value-ref="userNameTokenValidator" key-ref="usernameTokenQName" />
			</map>
		  </entry>
		</map>
	    </argument>
	  </bean>
	</cxf:inInterceptors>
  </cxf:cxfEndpoint>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message