4 Replies Latest reply on Oct 8, 2002 12:13 PM by Paul Cleary

    What's a JAXM Provider?

    Paul Cleary Newbie

      I know that it supports sending messages asynchronously by storing a web service message until it can successfully be delivered. Question is, what exactly is it? Can I use JBossMQ as a provider? How do I set it up so that I can get a ProviderConnectionFactory?

      I've read through a good bit of documentation and most gloss over it, saying something along the lines of "first, you have to get a ProviderConnection." My response, what, in more detail, is a provider connection?

      Any help is appreciated on some information on what a jaxm provider is.

      Thanks,
      pC

        • 1. Re: What's a JAXM Provider?
          Paul Cleary Newbie

          I think I may have it, please let me know if I am barking up the wrong tree. Turns out the JAXM spec was the best resource, should have read that earlier.

          In a nutshell, a JAXM provider is DIFFERENT from say, a JMS Provider. While conceptually similar, they are very different in reality.

          The JAXM Provider acts as an intermediary between the container and your application, which consists of your application specific code for sending and consuming messages. The JAXM Provider is ultimately an endpoint for you to stick your message. The provider listens for messages to come in on the endpoint through a normal SOAP message call that we all know and love. It then sticks the message in some kind of queue / persistence mechanism. A listener then listens on that queue and attempts to deliver the message. The message stays on the queue until the message is deliver.

          How the message is queued, and how that is all setup is JAXM provider implementation specific. Here is the sample scenario:
          JAXM Client gets a Provider connection.
          JAXM Client uses provider connection to send a message.
          Provider connection calls a SOAP service to deliver your message to an internal JAXM Provider (which is just a JAXM Servlet).
          The JAXM Provider onMessage will stick your message in a queue.
          A separate program will try and deliver your message to the original endpoint. The separate program will make sure your message stays on that queue until it is delivered.

          You can have the JAXM Provider be a remote web service call, but what the heck is the point of doing that? You can be pretty sure that your JAXM Provider running in the same container as your client code will work as long as your client code is working. If you use a remote JAXM Provider, your call could get dropped, and then what?

          I think this is it. If I am misguided please do let me know. I am trying to get my arms around this poorly documented JAXM thingamabob right now, and could use all the help I can get.

          • 2. Re: What's a JAXM Provider?
            Paul Cleary Newbie

            I think I may have it, please let me know if I am barking up the wrong tree. Turns out the JAXM spec was the best resource, should have read that earlier.

            In a nutshell, a JAXM provider is DIFFERENT from say, a JMS Provider. While conceptually similar, they are very different in reality.

            The JAXM Provider acts as an intermediary between the container and your application, which consists of your application specific code for sending and consuming messages. The JAXM Provider is ultimately an endpoint for you to stick your message. The provider listens for messages to come in on the endpoint through a normal SOAP message call that we all know and love. It then sticks the message in some kind of queue / persistence mechanism. A listener then listens on that queue and attempts to deliver the message. The message stays on the queue until the message is deliver.

            How the message is queued, and how that is all setup is JAXM provider implementation specific. Here is the sample scenario:
            JAXM Client gets a Provider connection.
            JAXM Client uses provider connection to send a message.
            Provider connection calls a SOAP service to deliver your message to an internal JAXM Provider (which is just a JAXM Servlet).
            The JAXM Provider onMessage will stick your message in a queue.
            A separate program will try and deliver your message to the original endpoint. The separate program will make sure your message stays on that queue until it is delivered.

            You can have the JAXM Provider be a remote web service call, but what the heck is the point of doing that? You can be pretty sure that your JAXM Provider running in the same container as your client code will work as long as your client code is working. If you use a remote JAXM Provider, your call could get dropped, and then what?

            I think this is it. If I am misguided please do let me know. I am trying to get my arms around this poorly documented JAXM thingamabob right now, and could use all the help I can get.

            • 3. Re: What's a JAXM Provider?
              Paul Cleary Newbie

              I think I may have it, please let me know if I am barking up the wrong tree. Turns out the JAXM spec was the best resource, should have read that earlier.

              In a nutshell, a JAXM provider is DIFFERENT from say, a JMS Provider. While conceptually similar, they are very different in reality.

              The JAXM Provider acts as an intermediary between the container and your application, which consists of your application specific code for sending and consuming messages. The JAXM Provider is ultimately an endpoint for you to stick your message. The provider listens for messages to come in on the endpoint through a normal SOAP message call that we all know and love. It then sticks the message in some kind of queue / persistence mechanism. A listener then listens on that queue and attempts to deliver the message. The message stays on the queue until the message is deliver.

              How the message is queued, and how that is all setup is JAXM provider implementation specific. Here is the sample scenario:
              JAXM Client gets a Provider connection.
              JAXM Client uses provider connection to send a message.
              Provider connection calls a SOAP service to deliver your message to an internal JAXM Provider (which is just a JAXM Servlet).
              The JAXM Provider onMessage will stick your message in a queue.
              A separate program will try and deliver your message to the original endpoint. The separate program will make sure your message stays on that queue until it is delivered.

              You can have the JAXM Provider be a remote web service call, but what the heck is the point of doing that? You can be pretty sure that your JAXM Provider running in the same container as your client code will work as long as your client code is working. If you use a remote JAXM Provider, your call could get dropped, and then what?

              I think this is it. If I am misguided please do let me know. I am trying to get my arms around this poorly documented JAXM thingamabob right now, and could use all the help I can get.

              • 4. Re: What's a JAXM Provider?
                Paul Cleary Newbie

                I think I may have it, please let me know if I am barking up the wrong tree. Turns out the JAXM spec was the best resource, should have read that earlier.

                In a nutshell, a JAXM provider is DIFFERENT from say, a JMS Provider. While conceptually similar, they are very different in reality.

                The JAXM Provider acts as an intermediary between the container and your application, which consists of your application specific code for sending and consuming messages. The JAXM Provider is ultimately an endpoint for you to stick your message. The provider listens for messages to come in on the endpoint through a normal SOAP message call that we all know and love. It then sticks the message in some kind of queue / persistence mechanism. A listener then listens on that queue and attempts to deliver the message. The message stays on the queue until the message is deliver.

                How the message is queued, and how that is all setup is JAXM provider implementation specific. Here is the sample scenario:
                JAXM Client gets a Provider connection.
                JAXM Client uses provider connection to send a message.
                Provider connection calls a SOAP service to deliver your message to an internal JAXM Provider (which is just a JAXM Servlet).
                The JAXM Provider onMessage will stick your message in a queue.
                A separate program will try and deliver your message to the original endpoint. The separate program will make sure your message stays on that queue until it is delivered.

                You can have the JAXM Provider be a remote web service call, but what the heck is the point of doing that? You can be pretty sure that your JAXM Provider running in the same container as your client code will work as long as your client code is working. If you use a remote JAXM Provider, your call could get dropped, and then what?

                I think this is it. If I am misguided please do let me know. I am trying to get my arms around this poorly documented JAXM thingamabob right now, and could use all the help I can get.