Sorry for the late reply the following one is an example of xbean
configuration
for a TCP-IP Consumer endpoint, this means the endpoint wait for tcp
request.
<?xml version="1.0"?>
<beans xmlns:sm="http://servicemix.apache.org/config/1.0"
xmlns:tcp="http://servicemix.apache.org/tcp/1.0"
xmlns:TestTCP_v_0="urn:eng:spagic:processes:TestTCP:v0"
xmlns:util="http://www.springframework.org/schema/util">
<bean id="spagicProcessProperties"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="classpath:spagic.properties"/>
</bean>
<tcp:consumer
depends-on="spagicProcessProperties"
service="TestTCP_v_0:TestTCP.TCP_v_0"
endpoint="TestTCP.TCP_v_0"
targetService="TestTCP_v_0:TestTCP.Groovy_v_0"
>
<tcp:config>
<tcp:tcpBCConfig
pointName="TestTCP.TCP_v_0"
pointType="POINT_TYPE_SERVER"
pointMode="OPERATION_MODE_BIDIRECTIONAL"
outNmEnvelope="PLAIN-MESSAGE"
inNmEnvelope="PLAIN-MESSAGE"
base64encode="TRUE"
base64decode="TRUE"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
incomingWrapper="WRAPPER_USER"
incomingHeader="0x0B"
incomingTrailer="0x1C 0x0D"
stripWrapping="true"
outgoingWrapper="WRAPPER_USER"
outgoingHeader="0x0B"
outgoingTrailer="0x1C 0x0D"
logConnections="false"
logData="false"
logDataAsHex="false"
connectionLogFileName=""
extraInformation="false"
useSSL="false"
useSSLClientMode="false"
keyStoreFileName=""
keyStorePassword=""
keyStoreType="JKS"
trustStoreFileName=""
trustStorePassword=""
trustStoreType="JKS"
connNumber="-1"
localPort="7001"
localAddress="0.0.0.0"
>
</tcp:tcpBCConfig>
</tcp:config>
</tcp:consumer></beans>
FreshAir ha scritto:
Andrea Zoppello-2 wrote:
Hi,
If you use spagic you could try configure a TCP/IP Binding component with
spagic studio.
Andrea
FreshAir ha scritto:
Hi,
I want a indepent TCP/IP BC in servicemix to use(not that
servicemix-camel
or activemq way to transport TCP/IP msg).
Currently I have ChainBuild ESB TCP/IP BC, and Spagic tcp/ip BC, but i
don't know how to manually write their corresponding configuring xml
files
to expose them as an endpoint.
Is there any way out?
Thanks in advance!
Hi,
The question is I want to know a typical configuration and, I cann't use
that studio for some reason at present. I just want a pure TCP/IP BC, that's
it.
Would you please give me an example of SU(xbean.xml) or sth?
Thank you!