activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Gomes (JIRA)" <jira+amq...@apache.org>
Subject [jira] Issue Comment Edited: (AMQNET-271) Add support for a Message Transformer to be set in NMS API
Date Mon, 30 Aug 2010 14:56:43 GMT

    [ https://issues.apache.org/activemq/browse/AMQNET-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61516#action_61516
] 

Jim Gomes edited comment on AMQNET-271 at 8/30/10 10:56 AM:
------------------------------------------------------------

Tim, you should check out a project I created that might help you compile the NMS.EMS project.
 You won't be able to actually run it to test it, but you would at least be able to compile
it.

http://code.google.com/p/doppleganger/

This source code generator creates a stub assembly to take the place of a real assembly that
you may not have, or may not have a license to.  I actually made it specifically for the NMS.EMS
project since the TIBCO.EMS.DLL is a commercial product.  However, it should be just fine
to link against a proxy of that assembly for testing purposes.

Browse to the tags branch, and there is a TIBCO.EMS.cs and TIBCO.EMS.dll proxy stub already
generated from the original TIBCO.EMS.DLL file.  You can use these in your build environment.

http://code.google.com/p/doppleganger/source/browse/#svn/tags/TibcoEMS

If this is of interest to you, let me know, and I can help you get set up with it if you have
any problems.  Like I said, it's only useful for resolving compile-time issues.

      was (Author: semog):
    Tim, you should check out a project I created that might help you compile the NMS.EMS
project.  You won't be able to actually run it to test it, but you would at least be able
to compile it.

http://code.google.com/p/doppleganger/

This source code generator creates a stub assembly to take the place of a real assembly that
you may not have, or may not have a license to.  I actually made it specifically for the NMS.EMS
project since the TIBCO.EMS.DLL is a commercial product.  However, it should be just fine
to link against a proxy of that assembly for testing purposes.

If this is of interest to you, let me know, and I can help you get set up with it.  Like I
said, it's only useful for resolving compile-time issues.
  
> Add support for a Message Transformer to be set in NMS API
> ----------------------------------------------------------
>
>                 Key: AMQNET-271
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-271
>             Project: ActiveMQ .Net
>          Issue Type: Improvement
>          Components: ActiveMQ, EMS, MSMQ, NMS, Stomp
>    Affects Versions: 1.3.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> Add support in the NMS API for users to set an custom MessageTransformer on the NMS object:

> IConnectionFactory
> IConnection
> ISession
> IMessageProducer
> IMessageConsumer
> The transformer would be an instance of IMessageTransformer which provides two methods:
> {noformat}
>     /// <summary>
>     /// Interface for a class that can Transform a Message from one type to another either
>     /// before consumption or before sent by a producer.
>     /// </summary>
>     public interface IMessageTransformer
>     {
>         /// <summary>
>         /// Called from an IMessageProducer prior to sending the IMessage, allows the
client
>         /// to perform a transformation on the Message prior to it being sent.  This
allows a
>         /// client to configure a single Producer to convert a Message to a format that
can be
>         /// processed by a specific receiving client.
>         /// </summary>
>         IMessage ProducerTransform(ISession session, IMessageProducer producer, IMessage
message);
>         /// <summary>
>         /// Called from an IMessageConsumer prior to dispatching the message to the client
either
>         /// by the 'Receive' methods or from the async listener event.  Allows the client
to perform
>         /// message pre-processing before some messages are dispatched into the client
code.
>         /// </summary>
>         IMessage ConsumerTransform(ISession session, IMessageConsumer producer, IMessage
message);
>     }
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message