hi,
It is simple as this.
1. Download the AWS SDK from here[1].
2. Unzip and goto aws-java-sdk-1.2.0/samples/AmazonSimpleQueueService
3. Log into WSO2 MB and click on Access Keys to get the accesskey ID and
Secret Access Key
4. Update the AwsCredentials.properties
5. Open the SimpleQueueServiceSample.java and add sqs.setEndpoint("
http://localhost:9763/services/QueueService"); under AmazonSQSClient
creation to
send the messages to WSO2 MB.
6. run the build.xml file with ant command.
And also we can use a Message box as an event sink.
If you have created a message box named MessageBox as admin, then event sink
url can be given as sqs://admin/MyMessageBox.
This will send the published messages to the topic to the given message box.
thanks,
Amila.
[1] http://aws.amazon.com/sdkforjava/
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev