Index: src/main/java/org/apache/synapse/util/xpath/SynapseJsonPath.java
===================================================================
--- src/main/java/org/apache/synapse/util/xpath/SynapseJsonPath.java	(revision 188996)
+++ src/main/java/org/apache/synapse/util/xpath/SynapseJsonPath.java	(working copy)
@@ -19,7 +19,6 @@
 package org.apache.synapse.util.xpath;
 
 import com.jayway.jsonpath.JsonPath;
-import org.apache.axis2.json.JSONBuilder;
 import org.apache.commons.io.IOUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -36,6 +35,7 @@
 
 public class SynapseJsonPath extends SynapsePath {
 
+    private final static String JSON_STREAM = "JSON_STREAM";
     private static final Log log = LogFactory.getLog(SynapseJsonPath.class);
 
     private String enableStreamingJsonPath = SynapsePropertiesLoader.loadSynapseProperties().
@@ -62,7 +62,7 @@
     public String stringValueOf(MessageContext synCtx) {
         org.apache.axis2.context.MessageContext amc = ((Axis2MessageContext) synCtx).getAxis2MessageContext();
         InputStream stream = null;
-        if(amc.getProperty(JSONBuilder.JSON_STREAM) == null || "true".equals(enableStreamingJsonPath)) {
+        if(amc.getProperty(JSON_STREAM) == null || "true".equals(enableStreamingJsonPath)) {
             try {
                 if(null == amc.getEnvelope().getBody().getFirstElement()) {
                     // Get message from PT Pipe.
@@ -78,7 +78,7 @@
                 handleException("Could not find JSON Stream in PassThrough Pipe during JSON path evaluation.", e);
             }
         } else {
-            stream = (InputStream) amc.getProperty(JSONBuilder.JSON_STREAM);
+            stream = (InputStream) amc.getProperty(JSON_STREAM);
             try {
                 return stringValueOf(new ByteArrayInputStream(copyStreamAndReturnByteArray(synCtx, stream)));
             } catch (IOException e) {
@@ -105,7 +105,7 @@
         // We will set the stream into JSON_STREAM for any further processing.
         byte[] streamByteArray = IOUtils.toByteArray(stream);
         org.apache.axis2.context.MessageContext amc = ((Axis2MessageContext) synCtx).getAxis2MessageContext();
-        amc.setProperty(JSONBuilder.JSON_STREAM, new BufferedInputStream(new ByteArrayInputStream(streamByteArray)));
+        amc.setProperty(JSON_STREAM, new BufferedInputStream(new ByteArrayInputStream(streamByteArray)));
         return streamByteArray;
     }
 
