Package io.iron.ironmq

Examples of io.iron.ironmq.Queue.push()


  @Override
  public void process(Message message) throws Exception {
    Client client = new Client(configuration.getProjectId(), configuration.getToken());
    Queue queue = client.queue(configuration.getQueueName());

    queue.push(message.getProperty("body", String.class));
  }

  @Override
  public IronMqProcessorConfig getConfiguration() {
    return configuration;
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.