RE: WebSphere MQ message properties

From: David Regan (
Date: 02/17/05

Date: Thu, 17 Feb 2022 07:33:07 -0800

I'm afraid custom pipelines is the only way to go. Mind you writing a custom
pipeline component is very simple. All you'll have to do is implement the
following method:

public IBaseMessage Execute(IPipelineContext pc, IBaseMessage inmsg)

and use the inmsg.Context.Promote method to set your properties.

If your ReplyToQ and ReplyToQMgr properties are set at design time, then
simply expose public properties for these and implement the two property
persistence methods:

public void Load(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, Int32
public void Save(Microsoft.BizTalk.Component.Interop.IPropertyBag pb,
Boolean fClearDirty, Boolean fSaveAllProperties)

Then you can set these properties from the properties dialog of the pipeline

There are plenty of examples of writing a pipeline component in the SDK, so
you shouldn't have any problems.

Best of luck,


"Glen" wrote:

> I want my send port to get messages directly from my recieve port (no
> orchestration). The send port is using the MQ adapter. I need to set the
> ReplyToQ and ReplyToQMgr MQ properties when I send a message but the only way
> I know how to do this is in an orchestration. Does anyone know if there is a
> way to set them without getting into custom pipelines.
> Thanks in advance,
> Glen