Hi Narsi p,
Please remember to mark answers accordingly... Helpful or correct, following the forum rules
Can you tell us more about what are you trying to achieve here?
If you are just trying to configure an error queue to put the messages that couldn't be delivered, you can do this in weblogic directly.
Configuring an Error Destination for Undelivered Messages