org.apache.camel.api.management.ManagedAttribute Java Examples

The following examples show how to use org.apache.camel.api.management.ManagedAttribute. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ComponentProxyEndpoint.java    From syndesis with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute(description = "Delegate Endpoint URI", mask = true)
public String getDelegateEndpointUri() {
    return endpoint.getEndpointUri();
}
 
Example #2
Source File: CamelContextMetadataMBean.java    From syndesis with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute
public Long getStartTimestamp() {
    return timestampOf(managedContext().getStartTimestamp());
}
 
Example #3
Source File: CamelContextMetadataMBean.java    From syndesis with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute
public Long getResetTimestamp() {
    return timestampOf(managedContext().getResetTimestamp());
}
 
Example #4
Source File: CamelContextMetadataMBean.java    From syndesis with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute
public Long getLastExchangeCompletedTimestamp() {
    return timestampOf(managedContext().getLastExchangeCompletedTimestamp());
}
 
Example #5
Source File: CamelContextMetadataMBean.java    From syndesis with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute
public Long getLastExchangeFailureTimestamp() {
    return timestampOf(managedContext().getLastExchangeFailureTimestamp());
}
 
Example #6
Source File: HelloBean.java    From camelinaction2 with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute(description = "The greeting to use")
public String getGreeting() {
    return greeting;
}
 
Example #7
Source File: HelloBean.java    From camelinaction2 with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute(description = "The greeting to use")
public void setGreeting(String greeting) {
    this.greeting = greeting;
}
 
Example #8
Source File: ERPEndpoint.java    From camelinaction2 with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute(description = "Verbose logging enabled")
public boolean isVerbose() {
    return verbose;
}
 
Example #9
Source File: ERPEndpoint.java    From camelinaction2 with Apache License 2.0 4 votes vote down vote up
/**
 * Verbose logging enabled
 */
@ManagedAttribute(description = "Verbose logging enabled")
public void setVerbose(boolean verbose) {
    this.verbose = verbose;
}
 
Example #10
Source File: ERPEndpoint.java    From camelinaction2 with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute(description = "Logical name of endpoint")
public String getName() {
    return name;
}
 
Example #11
Source File: ERPEndpoint.java    From camelinaction with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute
public boolean isVerbose() {
    return verbose;
}
 
Example #12
Source File: ERPEndpoint.java    From camelinaction with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute
public void setVerbose(boolean verbose) {
    this.verbose = verbose;
}
 
Example #13
Source File: MyManagedBean.java    From camel-cookbook-examples with Apache License 2.0 4 votes vote down vote up
@ManagedAttribute(description = "How many Camels Have been Seen")
public int getCamelsSeenCount() {
    return camelsSeenCount;
}