Este contenido no está disponible en el idioma seleccionado.

1.5. Client API


Overview

Figure 1.4, “Client APIs” gives an overview of the available APIs for programing WS-Notification clients.

Figure 1.4. Client APIs

WS-Notification standard API

Clients can be implemented using the standard WS-Notification API, which is obtained by mapping the standard WSDL interfaces to Java the JAX-WS and JAX-B. This has the advantage that you can use standard client code to access the notification broker (ensuring code portability), but it has the disadvantage that the standard API is relatively complicated to program with.

Simplified client API

To simplify working with the notification broker, JBoss A-MQ offers a simplified (non-standard) client API for accessing the notification broker. This API automatically takes care of tedious manipulation of JAX-B data types. Using this API, you typically require just a few method calls to implement a basic WS-Notification client.
For example, see the client code samples in Chapter 2, WS-Notification Tutorial.

API reference

The full API reference for the simplified client API is provided in the Apache CXF API Reference, which is available from the API Reference in the JBoss Fuse library. All of the relevant classes can be found in the following Java package:
org.apache.cxf.wsn.client
Copy to Clipboard Toggle word wrap
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat