Following is the code which I used to publish the data.
Remember the following when using the code.
- Set your BAM home location where you extracted the BAM pointing to the client-truststore.jks file. for example "/home/aruna/wso2bam/repository/resources/security/client-truststore.jks"
- Set the correct port for publish the data. If you have set an offset change the port accordingly.
- Set the correct username and password for publish data.
Loging to the BAM Admin Console and you'll see the published data as follows.
|Admin Console View of the Published Data|
Visit the following link to See how to explore the WSO2 BAM Cluster and other BAM related documentation.