CloudHub from within Mule application. It provides various operations like start, stop, deploy and update mule applications as well as send notifications from your mule application to cloudhub. For more details on CloudHub, please go through my article Introduction To Power Of Anypoint CloudHub With Mulesoft. Install CloudHub connector from Anypoint Exchange. You can connect to exchange from Anypoint Studio and search for cloudhub connector. Click Install and it will install cloudhub connector in your studio.
Anypoint studio. Now we will walkthrough how we can implement the cloudhub connector in your mule application. Create Notification Place the HTTP listener into the canvas and click to open the Properties console. Click the green + and configure as follows:
processor region and configure it. Click on green add button near Connector Configuration. It will open popup window for you. Select CloudHub: Basic Auth Authentication and Click OK.
we will going to select Create Notification. You need provide Domain, Message and Priority. This operation in the CloudHub connector creates a notification message for the domain that the application is currently running on.
we will going to select Create Notification. You need provide Domain, Message and Priority. This operation in the CloudHub connector creates a notification message for the domain that the application is currently running on.
to List application. This operation will return list of the application deployed to cloudhub with various details like status, worker size, no. of workers, application name, workertype etc.
the logs of your application like error, warn, information etc. You can read the log for specific period of time. It will provide the log depending on your configuration.