1Mojo::RabbitMQ::Client:U:sMeerthCoodn:t:rPiubbuMltoiejsdoh:(P:3eRpramlb)bDiotcMuQm:e:nCtlaiteinotn::Method::Publish(3pm)
2
3
4

NAME

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

SYNOPSIS

10         use Mojo::RabbitMQ::Client::Method::Publish;
11
12         my $method = Mojo::RabbitMQ::Client::Method::Publish->new(
13           client => $client,
14           channel => $channel
15         )->setup(
16           exchange    => 'mojo',
17           routing_key => '',
18           header      => {}
19           body        => 'mojo',
20           mandatory   => 0,
21           immediate   => 0,
22         )->deliver();
23

DESCRIPTION

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

EVENTS

29       Mojo::RabbitMQ::Client::Method::Publish inherits all events from
30       Mojo::RabbitMQ::Client::Method.
31

ATTRIBUTES

33       Mojo::RabbitMQ:Client:::Method::Publish inherits all attributes from
34       Mojo::RabbitMQ::Client::Method.
35

METHODS

37       Mojo::RabbitMQ::Client::Method::Publish inherits all methods from
38       Mojo::RabbitMQ::Client::Method with following changes.
39
40   setup
41         $method = $method->setup($arguments);
42
43       Only accepts common arguments for message publish chain. Which is:
44
45       Frame::Method
46         Basic::Publish
47           • exchange
48
49           • routing_key
50
51           • mandatory
52
53           • immediate
54
55       Frame::Header
56         Basic::ContentHeader
57           • header
58
59           • weight
60
61       Frame::Body
62         • body (as payload)
63

SEE ALSO

65       Mojo::RabbitMQ::Client::Method, Mojo::RabbitMQ::Client::Channel,
66       Mojo::RabbitMQ::Client
67
69       Copyright (C) 2015-2017, Sebastian Podjasek and others
70
71       Based on AnyEvent::RabbitMQ - Copyright (C) 2010 Masahito Ikuta,
72       maintained by "bobtfish@bobtfish.net"
73
74       This program is free software, you can redistribute it and/or modify it
75       under the terms of the Artistic License version 2.0.
76
77
78
79perl v5.34.0                      2M0o2j2o-:0:1R-a2b1bitMQ::Client::Method::Publish(3pm)
Impressum