The new JMS endpoint that you can find in trunk (3.2-SNAPSHOT) will
let you specify that.
Unfortunately these are not documented yet.  It should be something like

   <jms:provider timeToLive="xxx"   ...>

On 8/8/07, Arif Mohd <[EMAIL PROTECTED]> wrote:
>
> Hi Guillaume Nodet,
>      Please let me know whether can we set this property from xbean.xml
>
> Arif Mohd wrote:
> >
> > Hi Guillaume Nodet,
> >
> >     It is mentioned in the description for SM-510, that JMS Expiration can
> > be set through the message properties, could you please explain can i
> > configure this through xbean.xml if so how?
> >
> >
> > Arif Mohd wrote:
> >>
> >> Hi Gert,
> >>     Yes by TimeToLeave i mean JMSExpiration, issue is raised and the id
> >> is SM-1015
> >>
> >>
> >> Gert Vanthienen wrote:
> >>>
> >>> Arif Mohd,
> >>>
> >>> Do you want to setJMSExpiration(..) on the JMS message or is there
> >>> something else?  There is no support for setting the JMS expiration
> >>> right now, so you should probably open a JIRA for it...
> >>>
> >>>
> >>> Gert
> >>>
> >>> Arif Mohd wrote:
> >>>> Is this possible to do?
> >>>>
> >>>> Arif Mohd wrote:
> >>>>
> >>>>> Hi,
> >>>>>
> >>>>>   Iam having the following component setup
> >>>>>
> >>>>>      JMS Consumer Queue-->Transformer-->Http Bc--->JMS Topic
> >>>>>
> >>>>>    xbean configuration for JMS Topic is
> >>>>>
> >>>>>     <jms:endpoint service="bescocr:JMSTopic"
> >>>>>                   endpoint="jms"
> >>>>>                   role="provider"
> >>>>>                   destinationStyle="topic"
> >>>>>                   jmsProviderDestinationName="OutputTopic"
> >>>>>                   connectionFactory="#jmsFactory"
> >>>>>                   activationSpec="#activationSpec"
> >>>>>                   defaultMep="http://www.w3.org/2004/08/wsdl/in-only";
> >>>>> />
> >>>>>
> >>>>> xbean configuration for Consumer is
> >>>>>
> >>>>>     <jms:endpoint service="bescocr:InQueueSvc"
> >>>>>                   endpoint="jms"
> >>>>>                   targetService="bescocr:myTrans"
> >>>>>                   targetEndpoint="endpoint"
> >>>>>                   role="consumer"
> >>>>>                   destinationStyle="queue"
> >>>>>                   jmsProviderDestinationName="InputQueue"
> >>>>>                   connectionFactory="#jmsFactory"
> >>>>>
> >>>>> defaultMep="http://www.w3.org/2004/08/wsdl/in-only"/>
> >>>>>
> >>>>>
> >>>>>     1)How can i set TTL value for JMS Topic?
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Question-about-TimeToLeave-tf4205180s12049.html#a12047606
>
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/

Reply via email to