/** * Copyright (c) 2012 - 2017 Data In Motion and others. * All rights reserved. * * This program and the accompanying materials are made available under the terms of the * Eclipse Public License v1.0 which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Data In Motion - initial API and implementation */ package org.gecko.osgi.messaging; import org.gecko.core.pushstream.PushStreamContext; /** * Context object that can be used to provide additional configuration to the adapter * @author Mark Hoffmann * @since 10.10.2017 */ public interface MessagingContext extends PushStreamContext { public static final String PROP_REPLY_TO_POLICY = "replyToPolicy"; /** * Returns the queue name * @return the queue name */ public String getQueueName(); /** * Returns the routing key * @return the routing key */ public String getRoutingKey(); /** * Returns the content type * @return the content type */ public String getContentType(); /** * Returns the content encoding * @return the content encoding */ public String getContentEncoding(); /** * Returns the correlation id * @return the correlation id */ public String getCorrelationId(); /** * Returns the reply address * @return the reply address */ public String getReplyAddress(); /** * Returns the policy how many results are expected * @return the policy how many results are expected */ public ReplyToPolicy getReplyPolicy(); }