Place the diced, crumbled cornbread into a medium-size mixing bowl. Set aside.
Over medium heat, cook onions and celery or fennel in butter or olive oil until tender, stirring occasionally, but do not brown. Add garlic, fennel leaves, rosemary, cayenne, salt and pepper. Cook 2 minutes.
Pour this mixture over the cornbread crumbs, mixing well. Cool before using.