Announcement Announcement Module
Collapse
No announcement yet.
how to get error message? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to get error message?

    hi,All:

    I can not get any error message from errorChannel, here is my xml:

    <service-activator input-channel="dbRequestChannel" ref="skuSubToXfgdDetService" method="mapping"/>
    mapping method will throw a exception

    then I want to print error with:
    <poller default="true" max-messages-per-poll="1">
    <interval-trigger interval="1000" />
    </poller>
    <channel id="errorChannel">
    <queue capacity="500"/>
    </channel>
    <stream:stderr-channel-adapter channel="errorChannel"
    append-newline="true" />

    but nothing in my console, I dont know how to use it.

  • #2
    resloved, I get answer from
    http://forum.springsource.org/showthread.php?t=63715

    Comment

    Working...
    X