-
1. Re: Caused by: org.h2.jdbc.JdbcSQLException: Value too long for column STRINGVALUE_: STRINGDECODE
ray.ploski Jul 31, 2010 10:30 PM (in response to santy79)Since there are no long-running nor human-based tasks you should consider using splitter and aggregation functions of JBossESB. Your configuration may look somewhat like this and you can then remove the process-definition and the concerns of large response values.
{code:XML}
<?xml version = "1.0" encoding = "UTF-8"?>
<jbossesb
xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.2.0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.2.0.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.2.0.xsd"
parameterReloadSecs="5"><services>
<service category="apicategory" name="apiservice" description="Service">
<actions mep="RequestResponse">
<action name="operation" process="process">
</action>
<!-- Split the execution to multiple services simultaneously -->
<action name="SplittingRouter">
<property name="destinations">
<route-to service-category="remixcategory" service-name="remixservice" />
<route-to service-category="rmscategory" service-name="rmsservice" />
</property>
</action>
</actions>
</service>
<service category="remixcategory" description="Service"
invmScope="GLOBAL" name="remixservice">
<actions mep="RequestResponse">
<action name="operation" process="process" />
</actions>
<action name="routeToAggregator">
<property name="destinations">
<route-to service-category="epscategory" service-name="epsservice" />
</property>
</action>
</service>
<service category="rmscategory" description="Service"
invmScope="GLOBAL" name="rmsservice">
<actions mep="RequestResponse">
<action name="operation" process="process" />
</actions>
<action name="routeToAggregator">
<property name="destinations">
<route-to service-category="epscategory" service-name="epsservice" />
</property>
</action>
</service>
<servicecategory="epscategory" name="epsservice"
invmScope="GLOBAL"
description="Aggregates messages">
<actions mep="RequestResponse">
<!-- Wait for the aggregation of the multiple streams for no more than 60000 ms -->
<action name="Aggregator">
<property name="timeoutInMillies" value="60000"/>
</action>
<!-- add transformation action to aggregate the attachments into 1 message -->
<action class="com.bby.esb.EPS" name="operation" process="process"/>
</actions>
</service>
</services>
</jbossesb>
{code}