Identification of a protocol used in a message
First Claim
Patent Images
1. A method for message management, the method comprising:
- receiving the message at a port in a communication system, wherein the port is a universal port capable of receiving the message using any number of different protocols and wherein the communication system is an enterprise service bus comprising a plurality of processes and wherein the plurality of processes includes one or more processes configured to process messages using one of a plurality of different protocols;
determining whether a socket is associated with the port;
responsive to a determination that the socket is associated with the port, identifying a protocol of the message from protocol information in a portion of the message by comparing a format of the protocol used in the message with a plurality of formats for different protocols, wherein a matching of the protocol information in the portion of the message with one of the plurality of formats for different protocols identifies the protocol used in the message;
responsive to a determination the socket is not associated with the port, determining whether the message has an envelope;
responsive to a determination that the message has an envelope, identifying by a module associated with the universal port a first header in the message, wherein the first header forms the envelope, and has a format using a first protocol and a second header in the message, wherein the second header uses a second protocol used in the message;
identifying the second protocol used in the message from the first header of the message using the module wherein the module is configured to identify information using the first protocol;
determining whether to convert the message from the second protocol used in the message to a protocol used by an application; and
in response to a determination to convert the message from the second protocol used in the message to a protocol used by the application, converting the message from the second protocol used in the message to a protocol used by an application.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and computer program product for identifying a protocol used in a message are presented. The message is received at a socket associated with a port in a communication system. A portion of the message containing protocol information is identified in response to the message being received at the socket. The protocol used in the message is identified from the protocol information in the portion of the message. The message is forwarded to a process configured to process the protocol.
-
Citations
20 Claims
-
1. A method for message management, the method comprising:
-
receiving the message at a port in a communication system, wherein the port is a universal port capable of receiving the message using any number of different protocols and wherein the communication system is an enterprise service bus comprising a plurality of processes and wherein the plurality of processes includes one or more processes configured to process messages using one of a plurality of different protocols; determining whether a socket is associated with the port; responsive to a determination that the socket is associated with the port, identifying a protocol of the message from protocol information in a portion of the message by comparing a format of the protocol used in the message with a plurality of formats for different protocols, wherein a matching of the protocol information in the portion of the message with one of the plurality of formats for different protocols identifies the protocol used in the message; responsive to a determination the socket is not associated with the port, determining whether the message has an envelope; responsive to a determination that the message has an envelope, identifying by a module associated with the universal port a first header in the message, wherein the first header forms the envelope, and has a format using a first protocol and a second header in the message, wherein the second header uses a second protocol used in the message; identifying the second protocol used in the message from the first header of the message using the module wherein the module is configured to identify information using the first protocol; determining whether to convert the message from the second protocol used in the message to a protocol used by an application; and in response to a determination to convert the message from the second protocol used in the message to a protocol used by the application, converting the message from the second protocol used in the message to a protocol used by an application. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for message management, the method comprising:
-
receiving a message at a port in a communication system, wherein the port is a universal port capable of receiving the message using any number of different protocols; determining whether a socket is associated with the port; responsive to a determination the socket is associated with the port, identifying a protocol of the message from protocol information in a portion of the message by comparing a format of the protocol used in the message with a plurality of formats for different protocols, wherein a matching of the protocol information in the portion of the message with one of the plurality of formats for different protocols identifies the protocol used in the message; responsive to a determination the socket is not associated with the port, determining whether the message has an envelope; responsive to a determination the message has an envelope, identifying by a module associated with the universal port a first header, wherein the first header forms the envelope, and has a format using a first protocol and a second header in the message, wherein the second header has a format using a second protocol used in the message; identifying the second protocol used in the message from the first header of the message using the module wherein the module is configured to identify information using the first protocol; determining whether to convert the message from the second protocol used in the message to a protocol used by an application; and in response to a determination to convert the message from the second protocol used in the message to a protocol used by an application, using a particular process for converting the message from the second protocol used in the message to a protocol used by an application. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product for message management, the computer program product comprising:
-
a set of computer readable storage devices; program code, stored on at least one of the set of computer readable storage devices, configured to receive a message at a port in a communication system, wherein the port is a universal port capable of receiving the message using any number of different protocols; program code, stored on at least one of the set of computer readable storage devices, configured to determine whether a socket is associated with the port; program code, stored on at least one of the set of computer readable storage devices responsive to a determination the socket is associated with the port for identifying a protocol of the message from protocol information in a portion of the message by comparing a format of the protocol used in the message with a plurality of formats for different protocols, wherein a matching of the protocol information in the portion of the message with one of the plurality of formats for different protocols identifies the protocol used in the message; program code, stored on at least one of the set of computer readable storage devices responsive to a determination the socket is not associated with the port, for determining whether the message has an envelope; program code, stored on at least one of the set of computer readable storage devices responsive to a determination, the message has an envelope for identifying by a module associated with the universal port a first header wherein the first header forms the envelope, and has a format using a first protocol and a second header in the message wherein the second header has a format using a second protocol used in the message; program code, stored on at least one of the set of computer readable storage devices, configured to identify the second protocol used in the message from the first header of the message using the module wherein the module is configured to identify information using the first protocol; program code, stored on at least one of the set of computer readable storage devices, for determining whether to convert the message from the second protocol used in the message to a protocol used by an application; and in response to a determination to convert the message from the second protocol used in the message to a protocol used by an application, converting the message from the second protocol used in the message to a protocol used by an application. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification