Package org.apache.synapse.message.store

Examples of org.apache.synapse.message.store.MessageStore.poll()


                                    }
                                }
                            }

                            // If no Exception Occurred We remove the Message
                            messageStore.poll();
                        } catch (Exception e) {
                            if (maxDeliverAttempts > 0) {
                                if (processor.getSendAttemptCount() > maxDeliverAttempts) {
                                    processor.deactivate();
                                }
View Full Code Here


                        }
                    } else {
                        // Currently only Address Endpoint delivery is supported
                        log.warn("Address Endpoint Named " + targetEp + " not found.Hence removing " +
                                "the message form store");
                        messageStore.poll();
                    }


                } else {
                    //No Target Endpoint defined for the Message
View Full Code Here

                    //Here we log a warning and remove the message
                    //todo: we can improve this by implementing a target inferring mechanism

                    log.warn("Property " + ForwardingProcessorConstants.TARGET_ENDPOINT +
                            " not found in the message context , Hence removing the message ");
                    messageStore.poll();

                }

            } else {
                if (maxDeliverAttempts > 0) {
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.