You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2009/05/25 14:46:50 UTC

[jira] Resolved: (AMQ-2258) PooledSession doen't support blob message

     [ https://issues.apache.org/activemq/browse/AMQ-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved AMQ-2258.
-----------------------------

    Resolution: Fixed

exposed accessor to internal ActiveMQSession - public ActiveMQSession getInternalSession() r778413

> PooledSession doen't support blob message
> -----------------------------------------
>
>                 Key: AMQ-2258
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2258
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>    Affects Versions: 5.2.0
>         Environment: window xp
>            Reporter: sudhir sharma
>            Assignee: Gary Tully
>             Fix For: 5.3.0
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> org.apache.activemq.pool.PooledSession or  org.jencks.amqpool.PooledSession does not support Blob messages, as createBlobMessage method is missing from both the PooledSession.
> we are using spring JMS integration, where we get the activeMq PooledSession if we use ActiveMQ connection pooling
> Below is the code we are trying to use.
>    this.jmsTemplate.send(this.destination, new MessageCreator() {
>       public Message createMessage(Session session) throws JMSException {
>        org.apache.activemq.pool.PooledSession pooledSession = (org.apache.activemq.pool.PooledSession)session
>      // We need support for below method
>    BlobMessage blobMessage  = session.createBlobMessage(response); // this method is missing
>         return blobMessage;
>       }
>     });
> we are using activeMQ 5.2
> forum ref :  http://www.nabble.com/PooledSession-doen%27t-support-blob-message-td23614284.html

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