Package org.mule.transport.ajax.container

A AJAX transport allows Mule applications to send a receive events to the web browser.

See: Description

Package org.mule.transport.ajax.container Description

A AJAX transport allows Mule applications to send a receive events to the web browser. This connector bind to an existing Servlet Container that Mule is running within. For this to work, the container (which culd be any servlet container including Tomcat, Jetty, Resin, etc) needs to have the Mule AJAX servlet configured and mapped-

<servlet>
  <servlet-name>ajax</servlet-name>
  <servlet-class>org.mule.transport.ajax.container.MuleAjaxServlet</servlet-class>
</servlet>

<servlet-mapping>
  <servlet-name>ajax</servlet-name>
  <url-pattern>/cometd/*</url-pattern>
</servlet-mapping>

The Mule AJAX transport uses the excellent Jetty Bayeux implmentation.

Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.