Access to JMS_Sun_JMSJCA variables in JMS

3 messages Options
Embed this post
Permalink
Frank Niedermann

Access to JMS_Sun_JMSJCA variables in JMS

Reply Threaded More More options
Print post
Permalink
Hi,

I'm using JMS-Redelivery to put messages from failed BPEL processes into a JMS-Queue. If I look at a moved message with Hermes JMS I see that there are some additional JMS_Sun_JMSJCA attributes:



Is it possible to access those variables in a BPEL Assign element? I saw that there are some JMS attributes available already but not those JMS_Sun_JMSJCA ones:



I want to have another BPEL process watch the JMS queue where failed messages are moved to inform my administrators when something went wront. At the moment I can only send them a message like "something went wrong, have a look" but I would like to send them some more information like "something went wront in JMS queue ProcessQueue1" and the JMS_Sun_JMSJCA have such information.

Thanks,
  Frank
Frank Kieviet

RE: Access to JMS_Sun_JMSJCA variables in JMS

Reply Threaded More More options
Print post
Permalink
Hi Frank,

Yes, this is possible. You can access any JMS property (e.g. XYZ) as a NM
property using the org.glassfish.openesb.jms.userproperties.XYZ prefix. See

http://wiki.open-esb.java.net/Wiki.jsp?page=JMSBCNMProperties

for more information. To use these properties in the BPEL editor, you need
to switch to source mode and type the property name there.

HTH,
Frank


> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On
> Behalf Of Frank Niedermann
> Sent: Wednesday, October 14, 2009 02:36
> To: [hidden email]
> Subject: Access to JMS_Sun_JMSJCA variables in JMS
>
>
> Hi,
>
> I'm using JMS-Redelivery to put messages from failed BPEL processes into a
> JMS-Queue. If I look at a moved message with Hermes JMS I see that there
> are
> some additional JMS_Sun_JMSJCA attributes:
>
> http://n2.nabble.com/file/n3821558/jms1.jpg
>
> Is it possible to access those variables in a BPEL Assign element? I saw
> that there are some JMS attributes available already but not those
> JMS_Sun_JMSJCA ones:
>
> http://n2.nabble.com/file/n3821558/jms2.jpg
>
> I want to have another BPEL process watch the JMS queue where failed
> messages are moved to inform my administrators when something went wront.
> At
> the moment I can only send them a message like "something went wrong, have
> a
> look" but I would like to send them some more information like "something
> went wront in JMS queue ProcessQueue1" and the JMS_Sun_JMSJCA have such
> information.
>
> Thanks,
>   Frank
> --
> View this message in context: http://n2.nabble.com/Access-to-JMS-Sun-
> JMSJCA-variables-in-JMS-tp3821558p3821558.html
> Sent from the OpenESB Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Frank Niedermann

RE: Access to JMS_Sun_JMSJCA variables in JMS

Reply Threaded More More options
Print post
Permalink
Hi Frank,

that works, thanks for your help!

Frank

Frank Kieviet wrote:
Hi Frank,

Yes, this is possible. You can access any JMS property (e.g. XYZ) as a NM
property using the org.glassfish.openesb.jms.userproperties.XYZ prefix. See

http://wiki.open-esb.java.net/Wiki.jsp?page=JMSBCNMProperties

for more information. To use these properties in the BPEL editor, you need
to switch to source mode and type the property name there.

HTH,
Frank


> -----Original Message-----
> From: users-return-11747-frank.kieviet=sun.com@open-esb.dev.java.net
> [mailto:users-return-11747-frank.kieviet=sun.com@open-esb.dev.java.net] On
> Behalf Of Frank Niedermann
> Sent: Wednesday, October 14, 2009 02:36
> To: users@open-esb.dev.java.net
> Subject: Access to JMS_Sun_JMSJCA variables in JMS
>
>
> Hi,
>
> I'm using JMS-Redelivery to put messages from failed BPEL processes into a
> JMS-Queue. If I look at a moved message with Hermes JMS I see that there
> are
> some additional JMS_Sun_JMSJCA attributes:
>
> http://n2.nabble.com/file/n3821558/jms1.jpg
>
> Is it possible to access those variables in a BPEL Assign element? I saw
> that there are some JMS attributes available already but not those
> JMS_Sun_JMSJCA ones:
>
> http://n2.nabble.com/file/n3821558/jms2.jpg
>
> I want to have another BPEL process watch the JMS queue where failed
> messages are moved to inform my administrators when something went wront.
> At
> the moment I can only send them a message like "something went wrong, have
> a
> look" but I would like to send them some more information like "something
> went wront in JMS queue ProcessQueue1" and the JMS_Sun_JMSJCA have such
> information.
>
> Thanks,
>   Frank
> --
> View this message in context: http://n2.nabble.com/Access-to-JMS-Sun-
> JMSJCA-variables-in-JMS-tp3821558p3821558.html
> Sent from the OpenESB Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@open-esb.dev.java.net
> For additional commands, e-mail: users-help@open-esb.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@open-esb.dev.java.net
For additional commands, e-mail: users-help@open-esb.dev.java.net