OverviewThe TCP connector enables OpenJMS clients to connect to the OpenJMS server using TCP/IP sockets. It is configured by adding a < Connector > element to < Connectors > section of the $OPENJMS_HOME/config/openjms.xml file, with a scheme of type "tcp" . E.g: <Connectors> <Connector scheme="tcp"> <ConnectionFactories> <QueueConnectionFactory name="TCPQueueConnectionFactory"/> <TopicConnectionFactory name="TCPTopicConnectionFactory"/> </ConnectionFactories> </Connector> </Connectors> TCP portsThe TCP connector uses two ports, one for the OpenJMS server, the other for the embedded JNDI provider. These are specified by the < TcpConfiguration > element. The following represents the default configuration: <TcpConfiguration port="3030" jndiPort="3035"/> See AlsoThe following references provide detailed descriptions of the configuration elements related to the TCP connector: |