Tabnine Logo
RiderFailurePublisher.publish
Code IndexAdd Tabnine to your IDE (free)

How to use
publish
method
in
camelinaction.RiderFailurePublisher

Best Java code snippets using camelinaction.RiderFailurePublisher.publish (Showing top 2 results out of 315)

origin: camelinaction/camelinaction2

public void notify(EventObject eventObject) throws Exception {
  if (eventObject instanceof ExchangeFailedEvent) {
    ExchangeFailedEvent event = (ExchangeFailedEvent) eventObject;
    String id = event.getExchange().getExchangeId();
    Exception cause = event.getExchange().getException();
    Date now = new Date();
    publisher.publish(appId, id, now, cause.getMessage());
  }
}
origin: camelinaction/camelinaction

protected void notifyFailure(ExchangeFailedEvent event) {
  String id = event.getExchange().getExchangeId();
  Exception cause = event.getExchange().getException();
  Date now = new Date();
  publisher.publish(appId, id, now, cause.getMessage());
}
camelinactionRiderFailurePublisherpublish

Popular methods of RiderFailurePublisher

    Popular in Java

    • Reactive rest calls using spring rest template
    • getSystemService (Context)
    • setScale (BigDecimal)
    • getOriginalFilename (MultipartFile)
      Return the original filename in the client's filesystem.This may contain path information depending
    • Font (java.awt)
      The Font class represents fonts, which are used to render text in a visible way. A font provides the
    • Kernel (java.awt.image)
    • Time (java.sql)
      Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
    • Calendar (java.util)
      Calendar is an abstract base class for converting between a Date object and a set of integer fields
    • Random (java.util)
      This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
    • JOptionPane (javax.swing)
    • Top Vim plugins
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now