java - Create custom properties for JMS Queue -
i using jboss.x , ejb3.0.
i have 2 jms queues. "a" queue , "error" que.
a que has retry mechanism, after 3 retries, msg deliver error queue automatically, , there mdb listen.
i want add msg delivered error que, property define. (ofcourse cant add body line, since have rollbacks, , each time rollback being executed, body rollback also)
so read little in net, , got can use header purpose(roll backs wont affect it). in order user header custom property must create jmspropertytype , add header. didn't find info how it, mybe show me, or maybe there way of doing this?
thanks, ray.
transactional retry limits , poison message queues (your error queue) vendor-specific features. they're not in jms spec. should read vendor documentation (jboss, apparently) details.
i'm skeptical failing receiver add property message ask. vendor might implicitly add properties itself. think i've seen case (bea jms?) add vendor-specific property failed delivery attempt count.
Comments
Post a Comment