Hi,

I am receiving below error while using SQS Streaming Inbound endpoint in
EI-7.0.0 Micro Integrator.
*
java.lang.ClassNotFoundException:
org.wso2.carbon.inbound.endpoint.protocol.generic.GenericPollingConsumer
cannot be found by org.apache.synapse.amazonsqs.poll.class_1.0.3*

Steps to reproduce:

1) Go to
https://store.wso2.com/store/assets/esbconnector/details/26e66781-8016-4105-8667-00a1e2949aac
and click Download Streaming Connector to download the inbound
org.apache.synapse.amazonsqs.poll.class-1.0.3.jar file.

2) Copy this JAR file to the <MI_HOME>/dropins directory.

3) Reboot instance and try using SQS inbound endpoint use case as below

<inboundEndpoint
     class="org.wso2.carbon.inbound.amazonsqs.AmazonSQSPollingConsumer"
     name="AmazonSQS" onError="fault" sequence="request" suspend="false">
     <parameters>
         <parameter name="sequential">true</parameter>
         <parameter name="interval">2000</parameter>
         <parameter name="coordination">true</parameter>
         <parameter name="waitTime">19</parameter>
         <parameter name="maxNoOfMessage">10</parameter>
        <parameter name="destination">*URL of the Amazon SQS
Queue*</parameter>
         <parameter name="accessKey">*your accessKey*</parameter>
         <parameter name="secretKey">*your secretKey*</parameter>
         <parameter
name="attributeNames">attributeName1,contentType</parameter>
         <parameter name="contentType">text/plain</parameter> </parameters>
         <parameter name="autoRemoveMessage">true</parameter>
     </parameters>
 </inboundEndpoint>

Any help in this regard is appreciated.

Regards,
Preetam Patil







--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to