diff --git a/iraj/src/main/java/com/iorga/iraj/message/Messages.java b/iraj/src/main/java/com/iorga/iraj/message/Messages.java
index <HASH>..<HASH> 100644
--- a/iraj/src/main/java/com/iorga/iraj/message/Messages.java
+++ b/iraj/src/main/java/com/iorga/iraj/message/Messages.java
@@ -21,6 +21,7 @@ import java.io.OutputStream;
 import java.util.List;
 
 import javax.ws.rs.WebApplicationException;
+import javax.ws.rs.core.StreamingOutput;
 
 import com.iorga.iraj.json.JsonWriter;
 
@@ -54,6 +55,15 @@ public class Messages {
 		JSON_WRITER.writeWithTemplate(MessagesTemplate.class, this).write(outputStream);
 	}
 
+	public StreamingOutput toStreamingOutput() {
+		return new StreamingOutput() {
+			@Override
+			public void write(final OutputStream outputStream) throws IOException, WebApplicationException {
+				writeToOutputStream(outputStream);
+			}
+		};
+	}
+
 
 	/// Getters & Setters ///
 	////////////////////////
Adding an util method in order to return a StreamingOutput from Messages