Java 类org.apache.camel.api.management.ManagedAttribute 实例源码

项目:Camel    文件:HystrixProcessor.java   
@ManagedAttribute
public long getHystrixTotalRequests() {
    HystrixCommandMetrics metrics = HystrixCommandMetrics.getInstance(commandKey);
    if (metrics != null) {
        return metrics.getHealthCounts().getTotalRequests();
    }
    return 0;
}
项目:Camel    文件:JmsEndpoint.java   
@ManagedAttribute
public String getReplyToType() {
    if (configuration.getReplyToType() != null) {
        return configuration.getReplyToType().name();
    } else {
        return null;
    }
}
项目:Camel    文件:HystrixProcessor.java   
@ManagedAttribute
public int getHystrixExecutionTimeMean() {
    HystrixCommandMetrics metrics = HystrixCommandMetrics.getInstance(commandKey);
    if (metrics != null) {
        return metrics.getExecutionTimeMean();
    }
    return 0;
}
项目:syndesis    文件:ComponentProxyEndpoint.java   
@ManagedAttribute(description = "Delegate Endpoint URI", mask = true)
public String getDelegateEndpointUri() {
    return endpoint.getEndpointUri();
}
项目:Camel    文件:JmsEndpoint.java   
@ManagedAttribute
public String getReplyToOverride() {
    return getConfiguration().getReplyToOverride();
}
项目:Camel    文件:ManagedTracerMBean.java   
@ManagedAttribute(description = "Logging Level")
String getLogLevel();
项目:Camel    文件:ManagedTracerMBean.java   
@ManagedAttribute(description = "Logging Name")
void setLogName(String logName);
项目:camel-alma    文件:AlmaEndpoint.java   
/**
 * @return the API key for the ExLibris ALMA environment.
 */
@ManagedAttribute(description = "API key to use for authentication with ExLibris ALMA")
public String getApiKey() {
    return this.apiKey;
}
项目:Camel    文件:DisruptorEndpoint.java   
@ManagedAttribute(description = "Queue name")
public String getName() {
    return name;
}
项目:camel-alma    文件:AlmaEndpoint.java   
/**
 * Set the API operation to use for this endpoint.
 * @param operation the ALMA api operation to use.
 */
@ManagedAttribute(description = "API operation to use with this ExLibris ALMA endpoint")
public void setOperation(String operation) {
    this.operation = operation;

}
项目:Camel    文件:TwitterEndpointPolling.java   
@ManagedAttribute
public Integer getCount() {
    return getProperties().getCount();
}
项目:Camel    文件:DisruptorEndpoint.java   
@ManagedAttribute(description = "Defines the strategy used by consumer threads to wait on new exchanges to be published")
public DisruptorWaitStrategy getWaitStrategy() {
    return waitStrategy;
}
项目:Camel    文件:JmsEndpoint.java   
@ManagedAttribute
public boolean isAcceptMessagesWhileStopping() {
    return getConfiguration().isAcceptMessagesWhileStopping();
}
项目:Camel    文件:ManagedErrorHandlerMBean.java   
@ManagedAttribute(description = "RedeliveryPolicy for logging level when retries exhausted")
String getRetriesExhaustedLogLevel();
项目:Camel    文件:ManagedPollEnricherMBean.java   
@ManagedAttribute(description = "Whether to aggregate when there was an exception thrown during calling the resource endpoint")
Boolean isAggregateOnException();
项目:Camel    文件:JmsEndpoint.java   
@ManagedAttribute
public void setRecoveryInterval(long recoveryInterval) {
    getConfiguration().setRecoveryInterval(recoveryInterval);
}
项目:Camel    文件:ManagedServiceMBean.java   
@ManagedAttribute(description = "Whether this service supports suspension")
boolean isSupportSuspension();
项目:Camel    文件:ManagedProducerCacheMBean.java   
@ManagedAttribute(description = "EventNotifier enabled")
Boolean isEventNotifierEnabled();
项目:Camel    文件:ManagedThreadPoolMBean.java   
@ManagedAttribute(description = "ID of source for creating Thread Pool")
String getSourceId();
项目:Camel    文件:TwitterEndpointPolling.java   
@ManagedAttribute
public long getSinceId() {
    return getProperties().getSinceId();
}
项目:Camel    文件:ManagedAsyncProcessorAwaitManagerMBean.java   
@ManagedAttribute(description = "Number of threads that are blocked waiting for other threads to trigger the callback when they are done processing the exchange")
int getSize();
项目:Camel    文件:ManagedAggregateProcessorMBean.java   
@ManagedAttribute(description = "Total number of exchanged completed by completion aggregation strategy trigger")
long getCompletedByStrategy();
项目:Camel    文件:ManagedErrorHandlerMBean.java   
@ManagedAttribute(description = "RedeliveryPolicy for redelivery delay")
Long getRedeliveryDelay();
项目:Camel    文件:ManagedResequencerMBean.java   
@ManagedAttribute(description = "Expression to use for re-ordering the messages, such as a header with a sequence number")
String getExpression();
项目:Camel    文件:XsltEndpoint.java   
@ManagedAttribute(description = "Whether to use Saxon as the transformerFactoryClass")
public boolean isSaxon() {
    return saxon;
}
项目:Camel    文件:ManagedTracerMBean.java   
@ManagedAttribute(description = "Trace Exceptions")
void setTraceExceptions(boolean traceExceptions);
项目:Camel    文件:ManagedRouteMBean.java   
@ManagedAttribute(description = "Average load over the last fifteen minutes")
String getLoad15();
项目:Camel    文件:ResourceEndpoint.java   
@ManagedAttribute(description = "Whether the resource is cached")
public boolean isContentCache() {
    return contentCache;
}
项目:Camel    文件:ManagedCamelContextMBean.java   
@ManagedAttribute(description = "PackageScanClassResolver class name")
String getPackageScanClassResolver();
项目:Camel    文件:ManagedAggregateProcessorMBean.java   
@ManagedAttribute(description = "A Predicate to indicate when an aggregated exchange is complete")
String getCompletionPredicate();
项目:Camel    文件:ManagedEndpointRegistryMBean.java   
@ManagedAttribute(description = "Number of total endpoints cached")
Integer getSize();
项目:Camel    文件:ManagedCamelContextMBean.java   
@ManagedAttribute(description = "Whether to force shutdown now when a timeout occurred")
boolean isShutdownNowOnTimeout();
项目:Camel    文件:TimerEndpoint.java   
@ManagedAttribute(description = "Timer FixedRate")
public boolean isFixedRate() {
    return fixedRate;
}
项目:Camel    文件:JmsEndpoint.java   
@ManagedAttribute
public void setReplyToCacheLevelName(String cacheName) {
    getConfiguration().setReplyToCacheLevelName(cacheName);
}
项目:Camel    文件:JmsEndpoint.java   
@ManagedAttribute
public void setRequestTimeout(long requestTimeout) {
    getConfiguration().setRequestTimeout(requestTimeout);
}
项目:Camel    文件:ManagedTracerMBean.java   
@ManagedAttribute(description = "Logging Level")
void setLogLevel(String logLevel);
项目:Camel    文件:ManagedCustomProcessorTest.java   
@ManagedAttribute
public void setFoo(String foo) {
    this.foo = foo;
}
项目:Camel    文件:ManagedAsyncProcessorAwaitManagerMBean.java   
@ManagedAttribute(description = "Utilization statistics enabled")
void setStatisticsEnabled(boolean statisticsEnabled);
项目:Camel    文件:ManagedWeightedBalancerMBean.java   
@ManagedAttribute(description = "The delimiter")
String getDistributionRatioDelimiter();
项目:Camel    文件:JmsEndpoint.java   
@ManagedAttribute
public void setAutoStartup(boolean autoStartup) {
    getConfiguration().setAutoStartup(autoStartup);
}