001/**
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements.  See the NOTICE file distributed with
004 * this work for additional information regarding copyright ownership.
005 * The ASF licenses this file to You under the Apache License, Version 2.0
006 * (the "License"); you may not use this file except in compliance with
007 * the License.  You may obtain a copy of the License at
008 *
009 *      http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017package org.apache.camel.api.management.mbean;
018
019import org.apache.camel.api.management.ManagedAttribute;
020
021public interface ManagedTracerMBean {
022
023    @ManagedAttribute(description = "Camel ID")
024    String getCamelId();
025
026    @ManagedAttribute(description = "Camel ManagementName")
027    String getCamelManagementName();
028
029    @ManagedAttribute(description = "Tracer enabled")
030    boolean getEnabled();
031
032    @ManagedAttribute(description = "Tracer enabled")
033    void setEnabled(boolean enabled);
034
035    @ManagedAttribute(description = "Additional destination URI")
036    String getDestinationUri();
037
038    @ManagedAttribute(description = "Additional destination URI")
039    void setDestinationUri(String uri);
040
041    @ManagedAttribute(description = "Logging Name")
042    String getLogName();
043
044    @ManagedAttribute(description = "Using JPA")
045    boolean getUseJpa();
046
047    @ManagedAttribute(description = "Logging Name")
048    void setLogName(String logName);
049
050    @ManagedAttribute(description = "Logging Level")
051    String getLogLevel();
052
053    @ManagedAttribute(description = "Logging Level")
054    void setLogLevel(String logLevel);
055
056    @ManagedAttribute(description = "Log Stacktrace")
057    boolean getLogStackTrace();
058
059    @ManagedAttribute(description = "Log Stacktrace")
060    void setLogStackTrace(boolean logStackTrace);
061
062    @ManagedAttribute(description = "Trace Interceptors")
063    boolean getTraceInterceptors();
064
065    @ManagedAttribute(description = "Trace Interceptors")
066    void setTraceInterceptors(boolean traceInterceptors);
067
068    @ManagedAttribute(description = "Trace Exceptions")
069    boolean getTraceExceptions();
070
071    @ManagedAttribute(description = "Trace Exceptions")
072    void setTraceExceptions(boolean traceExceptions);
073
074    @ManagedAttribute(description = "Trace Out Exchanges")
075    boolean getTraceOutExchanges();
076
077    @ManagedAttribute(description = "Trace Out Exchanges")
078    void setTraceOutExchanges(boolean traceOutExchanges);
079
080    @ManagedAttribute(description = "Formatter show body")
081    boolean getFormatterShowBody();
082
083    @ManagedAttribute(description = "Formatter show body")
084    void setFormatterShowBody(boolean showBody);
085
086    @ManagedAttribute(description = "Formatter show body type")
087    boolean getFormatterShowBodyType();
088
089    @ManagedAttribute(description = "Formatter show body type")
090    void setFormatterShowBodyType(boolean showBodyType);
091
092    @ManagedAttribute(description = "Formatter show out body")
093    boolean getFormatterShowOutBody();
094
095    @ManagedAttribute(description = "Formatter show out body")
096    void setFormatterShowOutBody(boolean showOutBody);
097
098    @ManagedAttribute(description = "Formatter show out body type")
099    boolean getFormatterShowOutBodyType();
100
101    @ManagedAttribute(description = "Formatter show out body type")
102    void setFormatterShowOutBodyType(boolean showOutBodyType);
103
104    @ManagedAttribute(description = "Formatter show breadcrumb")
105    boolean getFormatterShowBreadCrumb();
106
107    @ManagedAttribute(description = "Formatter show breadcrumb")
108    void setFormatterShowBreadCrumb(boolean showBreadCrumb);
109
110    @ManagedAttribute(description = "Formatter show exchange ID")
111    boolean getFormatterShowExchangeId();
112
113    @ManagedAttribute(description = "Formatter show exchange ID")
114    void setFormatterShowExchangeId(boolean showExchangeId);
115
116    @ManagedAttribute(description = "Formatter show headers")
117    boolean getFormatterShowHeaders();
118
119    @ManagedAttribute(description = "Formatter show headers")
120    void setFormatterShowHeaders(boolean showHeaders);
121
122    @ManagedAttribute(description = "Formatter show out headers")
123    boolean getFormatterShowOutHeaders();
124
125    @ManagedAttribute(description = "Formatter show out headers")
126    void setFormatterShowOutHeaders(boolean showOutHeaders);
127
128    @ManagedAttribute(description = "Formatter show properties")
129    boolean getFormatterShowProperties();
130
131    @ManagedAttribute(description = "Formatter show properties")
132    void setFormatterShowProperties(boolean showProperties);
133
134    @ManagedAttribute(description = "Formatter show node")
135    boolean getFormatterShowNode();
136
137    @ManagedAttribute(description = "Formatter show node")
138    void setFormatterShowNode(boolean showNode);
139
140    @ManagedAttribute(description = "Formatter show exchange pattern")
141    boolean getFormatterShowExchangePattern();
142
143    @ManagedAttribute(description = "Formatter show exchange pattern")
144    void setFormatterShowExchangePattern(boolean showExchangePattern);
145
146    @ManagedAttribute(description = "Formatter show exception")
147    boolean getFormatterShowException();
148
149    @ManagedAttribute(description = "Formatter show exception")
150    void setFormatterShowException(boolean showException);
151
152    @ManagedAttribute(description = "Formatter show route ID")
153    boolean getFormatterShowRouteId();
154
155    @ManagedAttribute(description = "Formatter show route ID")
156    void setFormatterShowRouteId(boolean showRouteId);
157
158    @ManagedAttribute(description = "Formatter breadcrumb length")
159    int getFormatterBreadCrumbLength();
160
161    @ManagedAttribute(description = "Formatter breadcrumb length")
162    void setFormatterBreadCrumbLength(int breadCrumbLength);
163
164    @ManagedAttribute(description = "Formatter show short exchange ID")
165    boolean getFormatterShowShortExchangeId();
166
167    @ManagedAttribute(description = "Formatter show short exchange ID")
168    void setFormatterShowShortExchangeId(boolean showShortExchangeId);
169
170    @ManagedAttribute(description = "Formatter node length")
171    int getFormatterNodeLength();
172
173    @ManagedAttribute(description = "Formatter node length")
174    void setFormatterNodeLength(int nodeLength);
175
176    @ManagedAttribute(description = "Formatter max chars")
177    int getFormatterMaxChars();
178
179    @ManagedAttribute(description = "Formatter max chars")
180    void setFormatterMaxChars(int maxChars);
181
182    @ManagedAttribute(description = "Should trace events be sent as JMX notifications")
183    boolean isJmxTraceNotifications();
184
185    @ManagedAttribute(description = "Should trace events be sent as JMX notifications")
186    void setJmxTraceNotifications(boolean jmxTraceNotifications);
187
188    @ManagedAttribute(description = "Maximum size of a message body for trace notification")
189    int getTraceBodySize();
190
191    @ManagedAttribute(description = "Maximum size of a message body for trace notification")
192    void setTraceBodySize(int traceBodySize);
193
194}