Package com.saasovation.common.port.adapter.messaging

Examples of com.saasovation.common.port.adapter.messaging.MessageException


        this.setType(aType);

        try {
            this.channel().exchangeDeclare(aName, aType, isDurable);
        } catch (IOException e) {
            throw new MessageException("Failed to create/open the exchange.", e);
        }
    }
View Full Code Here


            this.setConnection(factory.newConnection());

            this.setChannel(this.connection().createChannel());

        } catch (IOException e) {
            throw new MessageException("Failed to create/open the queue.", e);
        }
    }
View Full Code Here

                    this.brokerChannel().queueName(),
                    this.textDurability(),
                    aTextMessage.getBytes());

        } catch (IOException e) {
            throw new MessageException("Failed to send message to channel.", e);
        }
        return this;
    }
View Full Code Here

                    this.brokerChannel().queueName(),
                    aMessageParameters.properties(),
                    aTextMessage.getBytes());

        } catch (IOException e) {
            throw new MessageException("Failed to send message to channel.", e);
        }
        return this;
    }
View Full Code Here

                    aRoutingKey,
                    aMessageParameters.properties(),
                    aTextMessage.getBytes());

        } catch (IOException e) {
            throw new MessageException("Failed to send message to channel.", e);
        }
        return this;
    }
View Full Code Here

                    aRoutingKey,
                    aMessageParameters.properties(),
                    aTextMessage.getBytes());

        } catch (IOException e) {
            throw new MessageException("Failed to send message to channel.", e);
        }
        return this;
    }
View Full Code Here

                    this.brokerChannel().queueName(),
                    this.binaryDurability(),
                    aBinaryMessage);

        } catch (IOException e) {
            throw new MessageException("Failed to send message to channel.", e);
        }
        return this;
    }
View Full Code Here

                    this.brokerChannel().queueName(),
                    this.binaryDurability(),
                    aBinaryMessage);

        } catch (IOException e) {
            throw new MessageException("Failed to send message to channel.", e);
        }
        return this;
    }
View Full Code Here

                    aRoutingKey,
                    this.binaryDurability(),
                    aBinaryMessage);

        } catch (IOException e) {
            throw new MessageException("Failed to send message to channel.", e);
        }
        return this;
    }
View Full Code Here

                    aRoutingKey,
                    this.binaryDurability(),
                    aBinaryMessage);

        } catch (IOException e) {
            throw new MessageException("Failed to send message to channel.", e);
        }
        return this;
    }
View Full Code Here

TOP

Related Classes of com.saasovation.common.port.adapter.messaging.MessageException

Copyright © 2018 www.massapicom. 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.