GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Mojo::RabbitMQ::Client::Method::Publish(3) User Contributed Perl Documentation Mojo::RabbitMQ::Client::Method::Publish(3)

Mojo::RabbitMQ::Client::Method::Publish - single class to do all of AMQP Publish method magic

  use Mojo::RabbitMQ::Client::Method::Publish;

  my $method = Mojo::RabbitMQ::Client::Method::Publish->new(
    client => $client,
    channel => $channel
  )->setup(
    exchange    => 'mojo',
    routing_key => '',
    header      => {}
    body        => 'mojo',
    mandatory   => 0,
    immediate   => 0,
  )->deliver();

Mojo::RabbitMQ::Client::Method::Publish is a special class to implement AMQP message publish workflow.

Mojo::RabbitMQ::Client::Method::Publish inherits all events from Mojo::RabbitMQ::Client::Method.

Mojo::RabbitMQ:Client:::Method::Publish inherits all attributes from Mojo::RabbitMQ::Client::Method.

Mojo::RabbitMQ::Client::Method::Publish inherits all methods from Mojo::RabbitMQ::Client::Method with following changes.

  $method = $method->setup($arguments);

Only accepts common arguments for message publish chain. Which is:

Frame::Method
Basic::Publish
  • exchange
  • routing_key
  • mandatory
  • immediate
Frame::Header
Basic::ContentHeader
  • header
  • weight
Frame::Body
body (as payload)

Mojo::RabbitMQ::Client::Method, Mojo::RabbitMQ::Client::Channel, Mojo::RabbitMQ::Client

Copyright (C) 2015-2017, Sebastian Podjasek and others

Based on AnyEvent::RabbitMQ - Copyright (C) 2010 Masahito Ikuta, maintained by "bobtfish@bobtfish.net"

This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.

2019-08-20 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.