You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by sudhir s <su...@cybage.com> on 2009/05/19 13:22:39 UTC
PooledSession doen't support blob message
We are planing to use blob message of ActiveMQ support with spring and JCA
support as we have a heavy payload
I observed 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
Please fix the issue on higher priority as this is a blocker for us.
--
View this message in context: http://www.nabble.com/PooledSession-doen%27t-support-blob-message-tp23614284p23614284.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: PooledSession doen't support blob message
Posted by Gary Tully <ga...@gmail.com>.
please open a jira issue to track this. thanks.
2009/5/19 sudhir s <su...@cybage.com>
>
> We are planing to use blob message of ActiveMQ support with spring and JCA
> support as we have a heavy payload
>
> I observed 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
>
> Please fix the issue on higher priority as this is a blocker for us.
>
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/PooledSession-doen%27t-support-blob-message-tp23614284p23614284.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>
--
http://blog.garytully.com
Open Source SOA
http://FUSESource.com