Java Code Examples for org.springframework.messaging.simp.stomp.StompFrameHandler

The following examples show how to use org.springframework.messaging.simp.stomp.StompFrameHandler. These examples are extracted from open source projects. 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
/**
 * {@inheritDoc}
 */
@Override
public Subscription subscribe(String destination, StompFrameHandler handler) {
    return delegate.subscribe(destination, new PreservesHeadersStompFrameHandlerAdapter(handler, getFilter()));
}
 
Example 2
/**
 * {@inheritDoc}
 */
@Override
public Subscription subscribe(StompHeaders headers, StompFrameHandler handler) {
    return delegate.subscribe(headers, new PreservesHeadersStompFrameHandlerAdapter(handler, getFilter()));
}
 
Example 3
/**
 * Sole constructor.
 *
 * @param delegate the delegate {@link StompFrameHandler}
 * @param filter   the stomp header names filter.
 */
public PreservesHeadersStompFrameHandlerAdapter(@NotNull StompFrameHandler delegate, @NotNull Filter<String> filter) {
    this.delegate = delegate;
    this.filter = filter;
}