Profile cover photo
Profile photo
Java Roots
233 followers -
Java, J2EE, Server, Frameworks
Java, J2EE, Server, Frameworks

233 followers
About
Communities and Collections
Posts

Post has attachment
Integrate CloudWatch Logs with Cloudhub Mule
In this blog, i will explain how to enable AWS Cloudwatch Logs for your Mule CloudHub Application. Cloudwatch Logs Services are provided by AWS so that you can better mange your logs. It is relatively cheaper than splunk. Since cloudhub automatically rolls ...
Add a comment...

Post has attachment
How to Set Up dedicated load balancer on Cloudhub
MuleSoft cloudhub provides inbuilt loadbalancer in the form of {appname}.cloudhub.io , which forwards the request on mule-worker-{appname}.au.cloudhub.io:8081 , if we are using http port. When you deploy your application on cloudhub, the app http listener a...
Add a comment...

Post has attachment
How to Call Another Flow From Dataweave
This is a simple example showing how to call another flow and include that result in the resultant xml file. The opertaion "lookup" should be used in dataweave. <?xml version="1.0" encoding="UTF-8"?>

<mule xmlns:http="http://www.mulesoft.org/schema/mule/ht...
Add a comment...

Post has attachment
Domain not available error Cloudhub Redeployment Issue
While deploying an application which was deployed successfully to Cloudhub previously using maven, I got the following error : [INFO] Deploying application MyApp-dev to Cloudhub
[ERROR] Domain MyApp-dev is not available. Aborting.
[ERROR] Failed to deploy M...
Add a comment...

Post has attachment
How to read and write XL Files in Java
Below Examples shows how to write and read XLSX and XLS files using Java . package com.sun;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Map;
import java.util.Set;
import...
Add a comment...

Post has attachment
How to enable DEBUG Logging In CloudHub
cloudHub ignores the local log4j.xml configuration and even if we enable DEBUG logging in the xml file , and deploy it in cloudhub , we see no changes . To enable logging in cloud hub , we can add following configurations in out log4j .xml <Log4J2CloudhubLo...
Add a comment...

Post has attachment
How to make Poller Component Efficient In MULE ESB
Poller in MULE ESB is a very important component when you want to keep polling a endpoint for changes and then process it . Most of the times we do not know how big the changes will be and how much time will it take to complete . So setting polling interval...
Add a comment...

Post has attachment
How to use Apache HttpClient 4.5 for Https Connections
This is a simple example on how to use Apache HttpClient 4.5 with connection pool manager to request https urls . package com.javaroots;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.security.SecureR...
Add a comment...

Post has attachment
GC overhead limit exceeded Out Of Memory Error In JDBC
I have encountered this error when i was trying to insert a big list of object in to database , using jdbc . The list size was approximately 100k . One way to resolve this error to increase your memory size . I double checked my code and found that i have n...
Add a comment...

Post has attachment
Malformed Expression Error Mule ESB
I have got the following error when i tried to write java 8 stream in my expression component . Message : [Error: Malformed expression]
[Near : {... t.stream().map(a->a+"dd").collect(java.util.stream ....}]
^...
Add a comment...
Wait while more posts are being loaded