design / D20-001
RESTコンシューマーのエラーメッセージに関するパターンです。
Newer
Older
D20-001 / application.xml
<?xml version="1.0" encoding="UTF-8"?>
<java version="1.8.0_25" class="java.beans.XMLDecoder">
 <object class="jp.co.nttcom.eai.modeler.common.application.ApplicationSettings" id="ApplicationSettings0">
  <void property="map">
   <void method="put">
    <string>restHost</string>
    <string>localhost</string>
   </void>
   <void method="put">
    <string>propertyFile</string>
    <string>(classpath:resources/sample.properties) (file:c:/my-app/settings.xml)</string>
   </void>
   <void method="put">
    <string>placeholderSuffix</string>
    <string>}</string>
   </void>
   <void method="put">
    <string>fileEncoding</string>
    <string>UTF-8</string>
   </void>
   <void method="put">
    <string>description</string>
    <string>D20-001 RESTエラーレスポンス出力パターン</string>
   </void>
   <void method="put">
    <string>autoStartup</string>
    <string>true</string>
   </void>
   <void method="put">
    <string>trace</string>
    <string>false</string>
   </void>
   <void method="put">
    <string>restPort</string>
    <string>8888</string>
   </void>
   <void method="put">
    <string>restSkipBindingOnErrorCode</string>
    <string>false</string>
   </void>
   <void method="put">
    <string>restContextPath</string>
    <string>/api</string>
   </void>
   <void method="put">
    <string>restJsonDataFormat</string>
    <string>json-jackson</string>
   </void>
   <void method="put">
    <string>delayer</string>
    <string>0</string>
   </void>
   <void method="put">
    <string>systemPropertiesModeName</string>
    <string>SYSTEM_PROPERTIES_MODE_OVERRIDE</string>
   </void>
   <void method="put">
    <string>springFileName</string>
    <string>eai-spring.xml</string>
   </void>
   <void method="put">
    <string>restXmlDataFormat</string>
    <string>jaxb</string>
   </void>
   <void method="put">
    <string>restEnableCORS</string>
    <string>false</string>
   </void>
   <void method="put">
    <string>camelContextId</string>
    <string>camel</string>
   </void>
   <void method="put">
    <string>restBindingMode</string>
    <string>xml</string>
   </void>
   <void method="put">
    <string>restProperties</string>
    <string>&lt;dataFormatProperty key=&quot;xml.out.mustBeJAXBElement&quot; value=&quot;false&quot; /&gt;&#13;
</string>
   </void>
   <void method="put">
    <string>ignoreResourceNotFound</string>
    <string>false</string>
   </void>
   <void method="put">
    <string>version</string>
    <string>0.00</string>
   </void>
   <void method="put">
    <string>restScheme</string>
    <string>http</string>
   </void>
   <void method="put">
    <string>searchSystemEnvironment</string>
    <string>true</string>
   </void>
   <void method="put">
    <string>placeholderPrefix</string>
    <string>$_{</string>
   </void>
   <void method="put">
    <string>threadPoolSize</string>
    <string>10</string>
   </void>
   <void method="put">
    <string>localOverride</string>
    <string>false</string>
   </void>
   <void method="put">
    <string>threadMaxPoolSize</string>
    <string>20</string>
   </void>
   <void method="put">
    <string>threadMaxQueueSize</string>
    <string>1000</string>
   </void>
   <void method="put">
    <string>restComponent</string>
    <string>camel-jetty</string>
   </void>
   <void method="put">
    <string>createWebXml</string>
    <string>true</string>
   </void>
   <void method="put">
    <string>jmxConnector</string>
    <string>false</string>
   </void>
  </void>
 </object>
</java>