Examples of toMap()


Examples of org.springframework.messaging.simp.SimpMessageHeaderAccessor.toMap()

    headers.setSessionId(sessionId);
    headers.setSubscriptionId(subscriptionId);
    if (destination != null) {
      headers.setDestination(destination);
    }
    return MessageBuilder.withPayload("").copyHeaders(headers.toMap()).build();
  }

  private Message<?> unsubscribeMessage(String sessionId, String subscriptionId) {
    SimpMessageHeaderAccessor headers = SimpMessageHeaderAccessor.create(SimpMessageType.UNSUBSCRIBE);
    headers.setSessionId(sessionId);
View Full Code Here

Examples of org.springframework.xd.dirt.core.DeploymentUnitStatus.toMap()

          DeploymentUnitStatus status = stateCalculator.calculate(job, provider, deploymentStatuses);

          logger.info("Deployment status for job '{}': {}", job.getName(), status);

          client.setData().forPath(statusPath, ZooKeeperUtils.mapToBytes(status.toMap()));
        }
      }
      catch (InterruptedException e) {
        throw e;
      }
View Full Code Here

Examples of org.switchyard.config.model.property.PropertiesModel.toMap()

                        if (security != null) {
                            PropertiesModel properties = security.getProperties();
                            ServiceSecurity value = new DefaultServiceSecurity()
                                .setName(security.getName())
                                .setCallbackHandler(security.getCallbackHandler(getClass().getClassLoader()))
                                .setProperties(properties != null ? properties.toMap() : null)
                                .setRolesAllowed(security.getRolesAllowed())
                                .setRunAs(security.getRunAs())
                                .setSecurityDomain(security.getSecurityDomain());
                            String key = value.getName();
                            if (!serviceSecurities.containsKey(key)) {
View Full Code Here

Examples of org.vertx.java.core.json.JsonObject.toMap()

                    return;
                }
                List<Map<String, ?>> gSessions = new ArrayList<>();
                for (Object sess : sessions) {
                    JsonObject jsonSess = (JsonObject) sess;
                    gSessions.add(jsonSess.toMap());
                }

                callback.call(gSessions);
            }
        });
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.