hi all, After inserting following Inbound Endpoint configuration in to synapse.xml and try to Start ESB it gives errors.
Synapse.xml looks like as below. <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://ws.apache.org/ns/synapse"> <inboundEndpoint name="MyJMSListenerEP" protocol="jms" interval="1000" suspend="false"> <parameters> <parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter> <parameter name="java.naming.provider.url">tcp://localhost:61616</parameter> <parameter name="jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter> <parameter name="jms.ConnectionFactoryType">queue</parameter> <parameter name="jms.Destination">ordersQueue</parameter> </parameters> <sequence key="requestHandlerSeq" onError="inFault"/> </inboundEndpoint> </definitions> Error Occurred is Invalid configuration element at the top level, one of 'sequence', 'endpoint', 'proxy', 'eventSource', 'localEntry', 'priorityExecutor' or 'registry' is expected. This is because in org.apache.synapse.config.xml.SynapseXMLConfigurationFactory getConfiguration(OMElement definitions, Properties properties) method does not handle InboundEndpoints. Is there another way of doing this or Is this need to be fixed. -- Regards Isuru Ranawaka phone :- +94714629880
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev