jms - Proxy Service: AdminProxy Admin Exception in wso2 esb 4.8.1 -
i have defined simple proxy service in wso2 esb(4.8.1) listening on queue via jms. service after reading message send queue.
problem:
when define inline endpoint works fine, if refer registry endpoint wso2 esb gives me error , not allow me modify service.
proxy service:
<?xml version="1.0" encoding="utf-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="failovertest" transports="jms" statistics="disable" trace="disable" startonload="true"> <target> <insequence> <property name="out_only" value="true" scope="default" type="string"/> <log level="full"/> <property name="clientapinonblocking" action="remove" scope="axis2"/> <send> <endpoint key="gov:/repository/endpoints/endpointfailover.xml"/> </send> <log level="full"/> </insequence> <faultsequence> <property name="set_rollback_only" value="true" scope="axis2" type="string"/> <log level="custom"> <property name="error_code" expression="get-property('error_code')"/> <property name="error_message" expression="get-property('error_message')"/> <property name="error_detail" expression="get-property('error_detail')"/> <property name="error_exception" expression="get-property('error_exception')"/> <property name="transaction action" value="rollbacked"/> </log> </faultsequence> </target> <parameter name="transport.jms.contenttype"> <rules> <jmsproperty>contenttype</jmsproperty> <default>application/xml</default> </rules> </parameter> <parameter name="transport.jms.connectionfactory">myqueueconnectionfactory</parameter> <parameter name="transport.jms.destinationtype">queue</parameter> <parameter name="transport.jms.destination">failoverrequest</parameter> <parameter name="originator">serviceadmin</parameter> <description/> </proxy>
registry endpoint xml:
<?xml version="1.0" encoding="utf-8"?> <endpoint> <address uri="jms:/failoverresponse?transport.jms.connectionfactoryjndiname=queueconnectionfactory&java.naming.factory.initial=org.apache.activemq.jndi.activemqinitialcontextfactory&java.naming.provider.url=tcp://localhost:61616&transport.jms.destinationtype=queue" format="pox"> </address> </endpoint>
error wso2 esb displaying:
this error may occur if attempting modify endpoint through source view. design-view endpoint modification has nice feature allows browsing of registry, , format link registry endpoints every time. please try design-view modify endpoint.
Comments
Post a Comment