[jboss-user] [Remoting] - CSV data in socket connection.

zubra.bubra do-not-reply at jboss.com
Tue Mar 13 04:03:02 EDT 2007


Hi guys!

I am newbie with JBoss Remoting.
The task is to create demarshaller for comma-separated values in socket.
Client (written in C++, and couldn't be patched) doesn't use JBoss Remoting, it just open raw socket connection and send data.
I ve tried to use xml descriptor:
server>
  |     <mbean code="org.jboss.remoting.transport.Connector"
  |            name="jboss.remoting:service=Connector,transport=socket"
  |            display-name="Socket transport Connector">
  |         <!--<attribute name="InvokerLocator">-->
  |         <!--<![CDATA[socket://${jboss.bind.address}:777]]>-->
  |         <!--</attribute>-->
  |         <attribute name="Configuration">
  |             <config>
  |                 <invoker transport="socket">
  |                     <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
  |                     <attribute name="serverBindPort">7777</attribute>
  |                     <attribute name="dataType" isParam="true">psp</attribute>
  |                     <attribute name="unmarshaller" isParam="true">my.server.remoting.MyUnMarshaller</attribute>
  |                 </invoker>
  |                 <handlers>
  |                     <handler subsystem="my">my.server.remoting.MyServerInvocationHandler</handler>
  |                 </handlers>
  |             </config>
  |         </attribute>
  |     </mbean>
  | </server>

But JBoss says header is invalid. How should i configure my connector?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027428#4027428

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027428



More information about the jboss-user mailing list