Issue #2928: Add default byte limit, set registry byte limit

Change-Id: I31f6687b30f501a30f78d4b289059d2de19528f6

Former-commit-id: e32d44051831d9b587ab398a19eb5afe7b7b5c58
This commit is contained in:
Richard Peter 2014-04-22 15:08:12 -05:00
parent 86cd826a3d
commit 4f0b83a12e
3 changed files with 3 additions and 3 deletions

View file

@ -67,7 +67,8 @@ public class RemoteRequestRouteWrapper {
private RemoteRequestServer server;
private int byteLimitInMB;
// default to 100MB
private int byteLimitInMB = 100;
public byte[] executeThrift(InputStream data) {
/*

View file

@ -3,7 +3,5 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="res"/>
<classpathentry kind="src" path="resources"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View file

@ -10,6 +10,7 @@
<bean id="routeWrapper" class="com.raytheon.uf.edex.registry.ebxml.RegistryRemoteRequestWrapper">
<property name="server" ref="serializeServer"/>
<property name="byteLimitInMB" value="${thriftService.byteLimitInMB}" />
</bean>
<bean id="binaryHttpBinding" class="com.raytheon.uf.edex.esb.camel.http.BinaryHttpBinding"/>