Examples of HttpEndpoint


Examples of com.kurento.kmf.media.HttpEndpoint

      getLogger().info(
          "Activating media for " + this.getClass().getSimpleName()
              + " with contentPath " + contentPath);

      final RecorderEndpoint recorderEndpoint = buildUriEndpoint(contentPath);
      HttpEndpoint httpEndpoint = buildAndConnectHttpEndpoint(recorderEndpoint);
      recorderEndpoint.record(); // TODO. Ask Jose if this is the best
                    // place for this or it should be set as
                    // in the HttpPlayerSession
      activateMedia(httpEndpoint, null);
View Full Code Here

Examples of flex.messaging.endpoints.HTTPEndpoint

    private void createHttpLongPollEndpoint()
    {
        String endpointId = "data-http-long-poll";
        String endpointUrl = "http://{server.name}:{server.port}/qa-manual/messagebroker/httplongpoll";
        String endpointClass = "flex.messaging.endpoints.HTTPEndpoint";        
        HTTPEndpoint httpEndpoint = (HTTPEndpoint)broker.createEndpoint(endpointId, endpointUrl, endpointClass)
       
        // <polling-enabled> is set on the client via the PollingChannel API
        // <polling-interval-millis> is set on the client via the PollingChannel API
        httpEndpoint.setWaitInterval(10000);
        httpEndpoint.setMaxWaitingPollRequests(2);
    }
View Full Code Here

Examples of flex.messaging.endpoints.HTTPEndpoint

    private void createHttpWaitingPollRequestsEndpoint()
    {
        String endpointId = "data-http-waiting-poll-requests";
        String endpointUrl = "http://{server.name}:{server.port}/qa-manual/messagebroker/httpwaitingpoll";
        String endpointClass = "flex.messaging.endpoints.HTTPEndpoint";        
        HTTPEndpoint httpEndpoint = (HTTPEndpoint)broker.createEndpoint(endpointId, endpointUrl, endpointClass)
       
        // <polling-enabled> is set on the client via the PollingChannel API
        // <polling-interval-millis> is set on the client via the PollingChannel API
        httpEndpoint.setWaitInterval(-1);
        httpEndpoint.setMaxWaitingPollRequests(4);
        httpEndpoint.setClientWaitInterval(3000);
    }
View Full Code Here

Examples of org.apache.camel.component.http.HttpEndpoint

     * Disconnects the URL specified on the endpoint from the specified processor.
     */
    @Override
    public void disconnect(HttpConsumer consumer) throws Exception {
        // If the connector is not needed anymore then stop it
        HttpEndpoint endpoint = consumer.getEndpoint();
        String connectorKey = getConnectorKey(endpoint);
       
        synchronized (CONNECTORS) {
            ConnectorRef connectorRef = CONNECTORS.get(connectorKey);
            if (connectorRef != null) {
View Full Code Here

Examples of org.apache.camel.component.http.HttpEndpoint

     * Disconnects the URL specified on the endpoint from the specified processor.
     */
    @Override
    public void disconnect(HttpConsumer consumer) throws Exception {
        // If the connector is not needed anymore then stop it
        HttpEndpoint endpoint = consumer.getEndpoint();
        String connectorKey = getConnectorKey(endpoint);
       
        synchronized (CONNECTORS) {
            ConnectorRef connectorRef = CONNECTORS.get(connectorKey);
            if (connectorRef != null) {
View Full Code Here

Examples of org.apache.camel.component.http.HttpEndpoint

     * Disconnects the URL specified on the endpoint from the specified processor.
     */
    @Override
    public void disconnect(HttpConsumer consumer) throws Exception {
        // If the connector is not needed anymore then stop it
        HttpEndpoint endpoint = consumer.getEndpoint();
        String connectorKey = getConnectorKey(endpoint);
       
        synchronized (CONNECTORS) {
            ConnectorRef connectorRef = CONNECTORS.get(connectorKey);
            if (connectorRef != null) {
View Full Code Here

Examples of org.apache.camel.component.http.HttpEndpoint

     * Disconnects the URL specified on the endpoint from the specified processor.
     */
    @Override
    public void disconnect(HttpConsumer consumer) throws Exception {
        // If the connector is not needed anymore then stop it
        HttpEndpoint endpoint = consumer.getEndpoint();
        String connectorKey = getConnectorKey(endpoint);
       
        synchronized (CONNECTORS) {
            ConnectorRef connectorRef = CONNECTORS.get(connectorKey);
            if (connectorRef != null) {
View Full Code Here

Examples of org.apache.camel.component.http.HttpEndpoint

    @Override
    public void disconnect(HttpConsumer consumer) throws Exception {
        camelServlet.disconnect(consumer);

        // If the connector is not needed anymore then stop it
        HttpEndpoint endpoint = consumer.getEndpoint();
        String connectorKey = endpoint.getProtocol() + ":" + endpoint.getPort();

        synchronized (connectors) {
            ConnectorRef connectorRef = connectors.get(connectorKey);
            if (connectorRef != null) {
                if (connectorRef.decrement() == 0) {
View Full Code Here

Examples of org.apache.camel.component.http.HttpEndpoint

     * processor.
     */
    @Override
    public void disconnect(HttpConsumer consumer) throws Exception {
        // If the connector is not needed anymore then stop it
        HttpEndpoint endpoint = consumer.getEndpoint();
        String connectorKey = getConnectorKey(endpoint);
       
        synchronized (connectors) {
            ConnectorRef connectorRef = connectors.get(connectorKey);
            if (connectorRef != null) {
View Full Code Here

Examples of org.apache.camel.component.http.HttpEndpoint

     * Disconnects the URL specified on the endpoint from the specified processor.
     */
    @Override
    public void disconnect(HttpConsumer consumer) throws Exception {
        // If the connector is not needed anymore then stop it
        HttpEndpoint endpoint = consumer.getEndpoint();
        String connectorKey = getConnectorKey(endpoint);
       
        synchronized (CONNECTORS) {
            ConnectorRef connectorRef = CONNECTORS.get(connectorKey);
            if (connectorRef != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.